txt

Linux commands and code snippets collection

  • Home
  • About

Tag Archives: install

06 Jul

Install Package List

Install a list of packages from a text file.


cat packages.txt | xargs apt-get install
Binny V A Posted in Command Line, Linux command, file, install, Linux, list, package, text Leave a comment
23 Mar

Installing GRUB Into MBR

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)
Binny V A Posted in Command Line, Linux grub, hd, hdd, install, Linux, mbr, root, windows 1 Comment
04 Nov

Update an Installed RPM Package

Upgrade a rpm package only if it is already installed


rpm -F package.rpm
Binny V A Posted in Command Line, Linux command, install, Linux, package, rpm, update Leave a comment
18 Oct

RPM Installation without Dependencies

Install a rpm package ignoring dependencies requests


rpm -ivh --nodeeps package.rpm
Binny V A Posted in Command Line, Linux dependencies, dependency, fedora, fille, install, rpm Leave a comment
16 Jul

Package Listing in Debian

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 
Binny V A Posted in Command Line, Linux apt, command, deb, debian, dpkg, install, Linux, size, software Leave a comment
06 Jun

Installing Rails

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
Binny V A Posted in Command Line, Linux, Ruby command, fedora, gem, install, Linux, rails, Ruby, yum Leave a comment
03 May

Show all Installed Packages in Debian

Show all deb packages installed on the system


dpkg -l
Binny V A Posted in Command Line, Linux deb, debian, dpkg, install, list, package 1 Comment
28 Mar

Install CPAN in Fedora

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
Binny V A Posted in Command Line, Linux, Perl command, cpan, fedora, install, Linux, Perl, yum 2 Comments
27 Mar

yum localinstall

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


yum localinstall package_name.rpm
Binny V A Posted in Command Line, Linux command, fedora, install, Linux, redhat, rpm, yum Leave a comment
13 Mar

Install RPM Package

Install a rpm package


rpm -ivh package.rpm
Binny V A Posted in Command Line, Linux command, fedora, install, Linux, package, redhat, rpm Leave a comment

Post navigation

← Older posts

Archives

  • October 2017
  • November 2015
  • August 2014
  • November 2013
  • August 2012
  • May 2012
  • March 2012
  • October 2011
  • August 2011
  • January 2011
  • October 2010
  • October 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007

Meta

  • Log in
Fruitful theme by fruitfulcode Powered by: WordPress
↑