Posts Tagged With: install

Install Package List

Tagged with: , , , , , ,

Install a list of packages from a text file.


cat packages.txt | xargs apt-get install
No Comments »

Installing GRUB Into MBR

Tagged with: , , , , , , ,

Use this when your MBR gets corrupted – usually happens after you reinstall windows. Pop in a bootable ubuntu DVD and boot into it. Then open a terminal and type in the following commands…


$ sudo grub
> find /boot/grub/stage1
(hd0,1)
> root (hd0,1) #Must be same as the output of the last command
> setup (hd0)
1 Comment »

Update an Installed RPM Package

Tagged with: , , , , ,

Upgrade a rpm package only if it is already installed


rpm -F package.rpm
No Comments »

RPM Installation without Dependencies

Tagged with: , , , , ,

Install a rpm package ignoring dependencies requests


rpm -ivh --nodeeps package.rpm
No Comments »

Package Listing in Debian

Tagged with: , , , , , , , ,

Show space used by deb packages installed sorted by size (ubuntu, debian and like)


dpkg-query -W -f='${Installed-Size;10}t${Package}n' | sort -k1,1n 
No Comments »

Installing Rails

Tagged with: , , , , , , ,

You can install Rails in a Fedora system with these commands…


yum -y install ruby ruby-devel ruby-irb ruby-libs ruby-rdoc ruby-ri rubygems
sudo gem update
sudo gem install rails --include-dependencies
No Comments »

Show all Installed Packages in Debian

Tagged with: , , , , ,

Show all deb packages installed on the system


dpkg -l
1 Comment »

Install CPAN in Fedora

Tagged with: , , , , , ,

If you are getting a ‘Can’t locate CPAN.pm in @INC’ error while opening cpan, you have not installed Bundle::Cpan. You can do that without Cpan – using yum


yum install perl-CPAN
2 Comments »

yum localinstall

Tagged with: , , , , , ,

This will install an RPM, and try to resolve all the dependencies for you using your repositories.


yum localinstall package_name.rpm
No Comments »

Install RPM Package

Tagged with: , , , , , ,

Install a rpm package


rpm -ivh package.rpm
No Comments »