RPM Installation without Dependencies
Install a rpm package ignoring dependencies requests
rpm -ivh --nodeeps package.rpm
Install a rpm package ignoring dependencies requests
rpm -ivh --nodeeps package.rpm
Verify the integrity of a rpm package
rpm --checksig package.rpm
Use this command to build an RPM if you have a Spec File
rpmbuild -ba SPEC_FILE
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
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
This will install an RPM, and try to resolve all the dependencies for you using your repositories.
yum localinstall package_name.rpm
Install a rpm package
rpm -ivh package.rpm
List all packages installed on the system
yum list
Show space used by rpm packages installed sorted by size (fedora, redhat and like)
rpm -q -a --qf "%10{SIZE}\t%{NAME}\n" | sort -k1,1n
To access net on a guest OS installed within VirtualBox, you have to enable bridging. This is what I did…
Run as root
brctl addbr br0
ifconfig eth0 0.0.0.0
brctl addif br0 eth0
ifconfig br0 192.168.1.54 netmask 255.255.255.0 up
route add -net 192.168.1.0 netmask 255.255.255.0 br0
route add default gw 192.168.1.1 br0
VBoxTunctl -b -u binnyva
ifconfig tap0 up
brctl addif br0 tap0
Open VirtualBox, select the machine you want and go to the network section. Select ‘Host Interface’ in Attached to and enter ‘tap0’ in Interface name. Now you should be able to get the connection on the guest system.
Advanced Networking Linux
HOWTO Automatically configure bridge interfaces on VirtualBox
bridging on Linux hosts over the VirtualBox
Bridge network interface on VirtualBox
Networking bridge for Virtualbox
Windows XP in Fedora 7
Bridged Networking with VirtualBox on Linux Hosts