Linux

aptitude cheatsheet

aptitude is a great alternative to apt-get and the best way to install, remove, upgrade, and otherwise administer packages on you system with apt. aptitude solves orphaned dependencies and has a curses interface that blows the doors off of dselect. Finally, and most importantly, it takes advantage of one tool, doing many many operations: Syntax […]

Read More
Linux

Advantages using aptitude instead of apt-get

apt-get is a command-line package handling utility while aptitude is a high-level interface to the package manager. There isn’t much difference between the two except aptitude will remove unused package dependencies automatically whereas with apt-get you have to do it manually. Neither removes dependencies as that would cause problems. Dependencies are packages that are depended […]

Read More
Linux

dpkg command cheatsheet

Syntax Description Example dpkg -i {.deb package} Install the package dpkg -i zip_2.31-3_i386.deb dpkg -i {.deb package} Upgrade package if it is installed else install a fresh copy of package dpkg -i zip_2.31-3_i386.deb dpkg -R {Directory-name} Install all packages recursively from directory dpkg -R /tmp/downloads dpkg -r {package} Remove/Delete an installed package except configuration files […]

Read More
Linux

rpm command cheatsheet

This is a simple cheatsheet for the rpm command and can be used on systems like RedHat that uses the command Syntax Description Example(s) rpm -ivh {rpm-file} Install the package rpm -ivh sendmail-cf-8.14.2-1.fc8.rpm rpm -ivh –test sendmail-8.14.2-1.fc8.rpm rpm -Uvh {rpm-file} Upgrade package rpm -Uvh sendmail-cf-8.14.2-1.fc8.rpm rpm -Uvh –test sendmail-8.14.2-1.fc8.rpm rpm -ev {package} Erase/remove/ an installed […]

Read More
Misc

WordPress pagination test

This is just a test post to test pagination in WordPress. Pagination is unfortunately a function that not all theme creators implement. You can paginate by using the <!–nextpage–> Quicktag. More information about wordpress pagination can be found in WordPress documentation http://codex.wordpress.org/Template_Tags/wp_link_pages.

Read More