Installing non repository software in Debian (including from source)

<pre>#DEB FILES
su
dpkg -i foo.deb #install
dpkg -r foo #uninstall

# RPM
su
alien -i foo.rpm #install

# SOURCE
sudo aptitude install build-essential # install prerequisites

tar -xvzf foo.tar.gz #unpack
cd foo

./configure #or
./configure --bindir=/usr/bin #will install to /user/bin and not residing dir

# run make or dh_make
make
dh_make
# The later formats the package to be in line with Debian standards and is encouraged over make

su
install #or
sudo checkinstall -D   # This install a deb package manageable in Symantec.

#UNINSTALL (INSTALLED FROM SOURCE CODE)
su
cd <app dir>
make uninstall
cd ..
rm -rf

 

Advertisements

Root applications styled in your current theme

You can manually install the theme for your user account; but if you change themes in your main user account you will need to change your root account as well. A quick alternative is to linq your theme to the roots theme.

sudo ln -s /home/<insert your username here>/.themes /root/.themes
sudo ln -s /home/<insert your username here>/.icons /root/.icons
sudo ln -s /home/<insert your username here>/.fontconfig /root/.fontconfig