Posts Tagged With: fedora

RPM Installation without Dependencies

Tagged with: , , , , ,

Install a rpm package ignoring dependencies requests


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

Verify RPM Package

Tagged with: , , , , , , , ,

Verify the integrity of a rpm package


rpm --checksig package.rpm
No Comments »

Building an RPM from a Spec File

Tagged with: , , , , , , ,

Use this command to build an RPM if you have a Spec File


rpmbuild -ba SPEC_FILE
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 »

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 »

List all Installed RPMs

Tagged with: , , , , ,

List all packages installed on the system


yum list
No Comments »

List all Installed RPMs by Size

Tagged with: , , , , , , ,

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
1 Comment »

Enable Bridging for VirtualBox in Fedora 8

Tagged with: , , , , , , , , ,

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.

Related Links

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

No Comments »