So I had the unfortunate task of installing a new kernel module that required the kernel source to build (insert sarcastic cheer here lol). When I went to run "./configure" the module kept barking about needing the kernel source. "No problem" I thought, "I'll just head over to the RHEL download site and download the kernel RPM file, rpm -ivh the file and Bob's your uncle right!!!"... wrong, very wrong. After a bunch of fiddling around I found the solution (assuming your local satellite server/repo still has it).
yum -y --disableexcludes=all install "kernel-devel-$(uname -r)"
[Note: you may not need the --disableexecludes=all, but if your system blacklists such things, then there ya go!]
~Enjoy!
Monday, July 28, 2014
Monday, October 11, 2010
Ubuntu directions for installing Linux on USB through OSX
Note: this procedure requires an .img file that you will be required to create from the .iso file you download.
TIP: Drag and Drop a file from Finder to Terminal to 'paste' the full path without typing and risking type errors.
1. Download the desired file
2. Open the Terminal (in /Applications/Utilities/ or query Terminal in Spotlight)
3. Convert the .iso file to .img using the convert option of hdiutil (e.g.,hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso)
4. Note: OS X tends to put the .dmg ending on the output file automatically.
5. Run diskutil list to get the current list of devices
6. Insert your flash media
7. Run diskutil list again and determine the device node assigned to your flash media (e.g. /dev/disk2)
8. Run diskutil unmountDisk /dev/diskN (replace N with the disk number from the last command; in the previous example, N would be 2)
9. Execute sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m (replace /path/to/downloaded.img with the path where the image file is located; for example, ./ubuntu.imgor ./ubuntu.dmg).
▪ Using /dev/rdisk instead of /dev/disk may be faster.
▪ If you see the error dd: Invalid number '1m', you are using GNU dd. Use the same command but replace bs=1m with bs=1M.
▪ If you see the error dd: /dev/diskN: Resource busy, make sure the disk is not in use. Start the 'Disk Utility.app' and unmount (don't eject) the drive.
10. Run diskutil eject/dev/diskN and remove your flash media when the command completes
11. Restart your Mac and press alt while the Mac is restarting to choose the USB-Stick
Saturday, June 27, 2009
Wednesday, June 3, 2009
Mounting 13TB Raid
This is some quick info I learned while trying to mount a 13TB partition in RHEL 5.3. The main thing is that fdisk does not like to make partitions larger than 2.2TB because dos labels are not recognized. The second is that ext3 file system doesn't like anything bigger than 8Tb. So here is what I did to go around it. I had to used parted instead of fdisk to overcome that 2TB limit.
To lay this all out I had to rename the label of the partition to gpt so I could use the larger partitionsize and then I installed support for ext4 and used that as the filesystem. Yes I know I punked out a bit but I am sick of trying to find work arounds for ext3.
APPENDED NOTE!!
You can't mount ext4 in RHEL just yet lol kind of important. I went back and did
and it took the filesystem
#parted /dev/sdd
#mklabel gpt
>mkpart primary 0 13000G
>quit
#yum install e4fsprogs
#mkfs.ext4 /dev/sdd1
To lay this all out I had to rename the label of the partition to gpt so I could use the larger partitionsize and then I installed support for ext4 and used that as the filesystem. Yes I know I punked out a bit but I am sick of trying to find work arounds for ext3.
APPENDED NOTE!!
You can't mount ext4 in RHEL just yet lol kind of important. I went back and did
#mkfs.ext3 -F /dev/sdd1
and it took the filesystem
Monday, May 25, 2009
Setting IP addresses through terminal (RHEL)
For some reason this is something that will just not stick in my head and I always have to go searching for it. The way you permanently set/change the ethx ip address is to edit the following file:
nano /etc/sysconfig/network-scripts/ifcfg-ethx
In this file you can set the ip address, gateway, netmask and ipv6 stuff.
To change the DNS addresses you must edit the following different file:
nano /etc/resolv.conf
Once you have made the changes you need to restart the network service to use the changes
service network restart
!!Remember all these commands need to be done as either root or through sudo!!
nano /etc/sysconfig/network-scripts/ifcfg-ethx
In this file you can set the ip address, gateway, netmask and ipv6 stuff.
To change the DNS addresses you must edit the following different file:
nano /etc/resolv.conf
Once you have made the changes you need to restart the network service to use the changes
service network restart
!!Remember all these commands need to be done as either root or through sudo!!
Friday, March 27, 2009
Sad news for Ubuntu on SunBlade 100's with Condor Users
I had about 20 Sunblade 100 units sitting around the lab and decided with my team to make a static cluster using them. Well the install of Ubuntu went pretty well using Server 8.10 and Server 7.10. Even loaded the Ubuntu-Gnome desktop on a couple of them just to see it. So with all going well I tryied to load the ever complicated Condor Project to tie them together. Well after trying multiple versions, based on debian, rehl, sparc, and eventually even compiling from source code I can say that Condor on a Sun with Ubuntu using the SPARC processor just will not work. Sorry guys.We ended up loading Solaris 10 and loading Condor. If anybody does find a way please feel free to leave a comment but I doubt it happening any time soon.
Sunday, December 14, 2008
Wednesday, December 10, 2008
Installing Condor in OSX 10.5
I found this process in a weird place on condor's site ... it was in the tutorials under Administration Tutorial. At the same time this worked. The only thing I did differently was to download the Condor package for Intel Mac 10.4. Sorry but you will have to do all of this from the terminal window. Beyond that everything else worked. So here is my "workflow" lol...
- Downloaded Condor for Intel Mac 10.4 (In my case I used 7.0.5).
- Opened terminal (Hard drive --> Applications --> Utilities --> Terminal)
- Logged in to my root account with "su" and then typed in my password (If you dont know your root password your boned lol ok seriously you need to either see your system administrator or try this out http://www.mac-forums.com/forums/os-x-operating-system/5331-how-do-i-reset-root-password.html but if your root account just isnt on check out this link http://support.apple.com/kb/HT1528)
- Type "useradd condor" and press [Enter]
- Type "chmod a+rx ~condor" and press [Enter]
- Type "cd /" and press [Enter]
- Type "mkdir condor" and press [Enter]
- Type "cd /condor" and press [Enter]
- Type "cp /Users/jeaimepowell/Desktop/condor-7.0.5-MacOSX10.4-x86-dynamic.tar.gz /condor/" and press [Enter]
- Type "tar -xzf condor-7.0.5-MacOSX10.4-x86-dynamic.tar.gz " and press [Enter]
- Type "cd condor-7.0.5" and press [Enter]
- Type "./condor_configure --install --install-dir=/condor/condor \ --local-dir=/condor/condor/var --owner=condor
" and press [Enter] (I got some errors but it installed) - Type "ln -s /condor/condor/etc/condor_config ~condor/" and press [Enter]
- Type "PATH=$PATH:/condor/condor/bin/:/condor/condor/sbin/" and press [Enter]
- Type "nano /condor/condor/etc/condor_config" and press [Enter]
- Look through the file in Part 2 until you find "HOSTALLOW_WRITE =" and remover the text after it and just have a "*"
- Press [ctrl] [x] and press "Y" then hit [enter] twice
- Type "condor_master" and press [Enter]
- Type "ps -ef |grep condor" and press [Enter] (you should see a bunch of condor processes running
- After a half a minute or so you should be able to type "condor_status" and actually see your machine on the node.
- You are done!
Installing Condor the easy-easy way

So I have to be honest here... the traditional install of condor using the "Newer Unix Install" has kicked my butt. I ran into permission issues, directory location issues,environmental variable issues, hostname issues and all other sorts problems I would rather forget. Well as a last ditch effort and kind of as a joke to myself I decided to install Fedora (FC10) and look in the package manager (In Gnome "System-->Administration-->Add/Remove Software) for Condor. To my complete shock it was there under "Condor:High Throughput Computing"!!! I checked it and it installed and get this...I typed "condor_status" in the terminal window and boom-bam it was working!! The main condor folder (release directory) is all over the place in the system but the bastard just works. So just to lay it out in a non ubber geek way:
- Install Fedora (I used FC10 but I dont know if it is in other cores)
- Open "System-->Administration-->Add/Remove Software"
- Search for Condor (type it in the search box and hit enter)
- Put a check next to "Condor:High Throughput Computing" (I checked the Condor headers one too but I dont know if it is necessary)
- Click "Apply" (In my case it also added a few other dependencies automagically so dont be worried if you see that)
- When it is done open a terminal window (Applications --> System Tools --> Terminal)
- Type "condor_status" and you should see a status with one node.
- You are done!!
Good Luck!!
Wednesday, September 3, 2008
Installing Canon i860 in Fedora Core 9 (gutenprint)
Here is the easiest way I have found to get the driver in there.
- Goto Systen --> Administration --> Add/Remove Software
- In the search box type "gutenprint" and click [Find]
- Add a check mark next to "Cups drivers for Canon, Epson, HP and compatible printers"
- Click "Apply"
- Then goto System --> Administration --> Printing
- Click "New"
- Select the "i860 USB #1" and click [Forward] (this was in my case it may be a different number for you)
- Select "Canon" and click [Forward]
- The "i860" model and "Canon i860 - CUPS+Gutenprint v.5.0.2 ...] should be selected and click [Forward]
- You can change the name if you want but i just left it as "i860" and clicked [Apply]
- Once the install is complete I would test the printer by selecting it from the list and clicking [Print Test Page]
No sound from flash (Youtube) in Fedora Core 9
No I am not the one who came up with this fix. The credit goes to /crisis website.
- Open a terminal window
- Type
su -
and enter your root password - Type
yum install libflashsupport
- When it is done you should be good to go.
Sunday, July 20, 2008
Linux Commands used in Greenland to Admin the server
For System Monitoring
-top - displays the load and memory usage of all applications and processors
-uptime - show system load and should not be over 20 (for Greenland field server)
-vmstat [-S M 5] (S M show in megabytes and 5 says update every 5 seconds) - shows memory usage.... hopefully will not use swap file because it will slow down the processing
-mpstat [-P ALL](for all processors or can put the number of the specific processor) - shows cpu usage
-df - displays mounted drives and locations
-du [-h](shows a human readable view) - displays disk usage
-SMclient - displays RAID status
-nodestatus - displays MDCE MatLab workers running
-/etc/init.d/mdce [status] - displays whether mdce is running
-/sbin/service [name] [start stop status restart] - used to access other service such as nfs, portmap ...etc
-cat /etc/fstab - lists mounts and apps that run at startup
-dmesg - kernel messages such as when you plug up a usb device
-/var/log - contains many system logs for error checking
Grub Boot Screen Options (press a at the Grub startup screen)
-Single - starts linux in single users mode with root access
-while in single user mode can type init 3 (3 being the run level you want)
-console=/dev/ttyS0 - means the output of the startup is passed to the serial port
Rsync Command options
can use the following syntax to to rsync directly to a network drive
rsync -av jpowell@192.168.254.108:/mnt/storage/20080717A /media/usb
***If you add a / to the trailing source location, it means to copy the data in the folder....without it copies the parent folder too
autossh command
autossh -M [port1] (-M says what port 1 to monitor on) -N (dont run a command) -R [port2]:localhost:22 (open up the port 2 on the IP machine to create a tunnel to your machine (localhost) on port 22) [user@ip](ssh location you want to connect to)
example:
autossh -M 20000 -N -R 11000:localhost:22 jpowell@ssh.cresis.ku.edu -p 62
person ssh in to this would use:
ssh -p 11000 localhost (this is assuming they are on ssh.cresis.ku.edu)
dd command options
dd -fi=input directory -do=file out
Managing users and permissions
useradd - used to add users
syntax:
useradd -c "normal user" -d /home/userid -g users\
-G webadm,helpdesk -s\ /bin/bash userid
***This command creates a new user called "userid," the last parameter in the command. A comment is entered that says "normal user." Userid's home directory will be "/home/userid." Userid's primary group will be users, but userid will also be placed in the "webadm" and "helpdesk" groups. Userid will use the "/bin/bash" shell as the normal console environment.
passwd [userid] - changes the users password
userdel -r userid - deletes a user ...the -r means to also delete the home directory
more /etc/passwd - allows you to view all the users and their associations - The first column contains the user name. The second column contains the user's password. The third column contains the user's numeric id. The fourth column contains the numeric id for the user's primary group. The fifth column contains the user's full name, or a comment. The sixth column contains the location of the user's home directory. Normally this directory lives in the /home directory and has the same name as the user id. The seventh column contains the user's default console shell.
groupadd mygroup - adds groups
ls -l - produces the following information relating to groups
-rw-r--r-- 1 userid mygroup 703 Jun 23 22:12 myfile
Ignoring the other columns for the moment, look at the third, fourth, and last columns. The third column contains the name of the owner of the file, userid. The fourth column contains the group associated with the file, mygroup. The last column is the file name. Each file can have only one owner and one group. It is possible to assign rights to Other, the users who don't fall into either category. Think of Other as the equivalent of the Windows group Everyone.
chown [owner] [file] - changes the owner of a file or directory
chmod [+-r+-w+-x] [file] - changes the permissions for a file
Network Mangement
ifconfig [ethernet port] - view current ethernet port configuration
ifup [eth port] - turn ethernet port on
ifdown [eth port]- turn ethernet port off
dhclient [ethernet port] - sets the ethernet port to dhcp and grabs IP
/sbin/service iptables stop - Linux firewall service stop
Crontab Management
crontab - allows you to work with items in the cron (task scheduler)
-l means list all cron jobs
Other often used commands
halt - to stop system
mount - to mount drives
umount [-f] (forces unmount) - to unmount drives
su - - root user with environment
ssh [-Y] (to port graphics)
nano - text editor
fsck - scans and defragments drive (perform at least once per month to not have it automatically kick in [that sucks])
rm -rf [directory]- removes directories with data inside
find - finds freggin anything
sleep [number of seconds] - very useful in scripts to make the system wait
man - manual it is your friend
less - displays a file page by page
-top - displays the load and memory usage of all applications and processors
-uptime - show system load and should not be over 20 (for Greenland field server)
-vmstat [-S M 5] (S M show in megabytes and 5 says update every 5 seconds) - shows memory usage.... hopefully will not use swap file because it will slow down the processing
-mpstat [-P ALL](for all processors or can put the number of the specific processor) - shows cpu usage
-df - displays mounted drives and locations
-du [-h](shows a human readable view) - displays disk usage
-SMclient - displays RAID status
-nodestatus - displays MDCE MatLab workers running
-/etc/init.d/mdce [status] - displays whether mdce is running
-/sbin/service [name] [start stop status restart] - used to access other service such as nfs, portmap ...etc
-cat /etc/fstab - lists mounts and apps that run at startup
-dmesg - kernel messages such as when you plug up a usb device
-/var/log - contains many system logs for error checking
Grub Boot Screen Options (press a at the Grub startup screen)
-Single - starts linux in single users mode with root access
-while in single user mode can type init 3 (3 being the run level you want)
-console=/dev/ttyS0 - means the output of the startup is passed to the serial port
Rsync Command options
can use the following syntax to to rsync directly to a network drive
rsync -av jpowell@192.168.254.108:/mnt/storage/20080717A /media/usb
***If you add a / to the trailing source location, it means to copy the data in the folder....without it copies the parent folder too
autossh command
autossh -M [port1] (-M says what port 1 to monitor on) -N (dont run a command) -R [port2]:localhost:22 (open up the port 2 on the IP machine to create a tunnel to your machine (localhost) on port 22) [user@ip](ssh location you want to connect to)
example:
autossh -M 20000 -N -R 11000:localhost:22 jpowell@ssh.cresis.ku.edu -p 62
person ssh in to this would use:
ssh -p 11000 localhost (this is assuming they are on ssh.cresis.ku.edu)
dd command options
dd -fi=input directory -do=file out
Managing users and permissions
useradd - used to add users
syntax:
useradd -c "normal user" -d /home/userid -g users\
-G webadm,helpdesk -s\ /bin/bash userid
***This command creates a new user called "userid," the last parameter in the command. A comment is entered that says "normal user." Userid's home directory will be "/home/userid." Userid's primary group will be users, but userid will also be placed in the "webadm" and "helpdesk" groups. Userid will use the "/bin/bash" shell as the normal console environment.
passwd [userid] - changes the users password
userdel -r userid - deletes a user ...the -r means to also delete the home directory
more /etc/passwd - allows you to view all the users and their associations - The first column contains the user name. The second column contains the user's password. The third column contains the user's numeric id. The fourth column contains the numeric id for the user's primary group. The fifth column contains the user's full name, or a comment. The sixth column contains the location of the user's home directory. Normally this directory lives in the /home directory and has the same name as the user id. The seventh column contains the user's default console shell.
groupadd mygroup - adds groups
ls -l - produces the following information relating to groups
-rw-r--r-- 1 userid mygroup 703 Jun 23 22:12 myfile
Ignoring the other columns for the moment, look at the third, fourth, and last columns. The third column contains the name of the owner of the file, userid. The fourth column contains the group associated with the file, mygroup. The last column is the file name. Each file can have only one owner and one group. It is possible to assign rights to Other, the users who don't fall into either category. Think of Other as the equivalent of the Windows group Everyone.
chown [owner] [file] - changes the owner of a file or directory
chmod [+-r+-w+-x] [file] - changes the permissions for a file
Network Mangement
ifconfig [ethernet port] - view current ethernet port configuration
ifup [eth port] - turn ethernet port on
ifdown [eth port]- turn ethernet port off
dhclient [ethernet port] - sets the ethernet port to dhcp and grabs IP
/sbin/service iptables stop - Linux firewall service stop
Crontab Management
crontab - allows you to work with items in the cron (task scheduler)
-l means list all cron jobs
Other often used commands
halt - to stop system
mount - to mount drives
umount [-f] (forces unmount) - to unmount drives
su - - root user with environment
ssh [-Y] (to port graphics)
nano - text editor
fsck - scans and defragments drive (perform at least once per month to not have it automatically kick in [that sucks])
rm -rf [directory]- removes directories with data inside
find - finds freggin anything
sleep [number of seconds] - very useful in scripts to make the system wait
man - manual it is your friend
less - displays a file page by page
Saturday, July 12, 2008
Wednesday, July 9, 2008
How to check what is running on your system
Ok if you have ever looked over the shoulder of a linux person goign to town you may have seen something like
so here is what is really going on in that command
The ps command tells you what processes are actually running. In the manual it actual says that it gives you a snapshop of what is running on the system.
says print all processes owned by a user named "x" this could be changed to specify a specific user
The "|" or pipe symbol says to this command and this other command together
"grep" is a filter. If you were to simply type "ps" you woudl get a screen full of processes running for your user. By adding the "|" along with "grep" you can filter those processes down to what you need. In this case we looked for "cron" jobs (scheduled tasks). That can of course be changed to anything else you may need to check on.
So to say it all together the command
Hope that helps!!
ps -aux | grep cron
so here is what is really going on in that command
ps
The ps command tells you what processes are actually running. In the manual it actual says that it gives you a snapshop of what is running on the system.
-aux
says print all processes owned by a user named "x" this could be changed to specify a specific user
|
The "|" or pipe symbol says to this command and this other command together
grep
"grep" is a filter. If you were to simply type "ps" you woudl get a screen full of processes running for your user. By adding the "|" along with "grep" you can filter those processes down to what you need. In this case we looked for "cron" jobs (scheduled tasks). That can of course be changed to anything else you may need to check on.
So to say it all together the command
ps -aux | grep cronis actually telling the computer to show all processes under any user that specifically deals with cron.
Hope that helps!!
Sunday, July 6, 2008
How to manually mount a USB Drive in Redhat
Inserting a USB storage device
- Plug in the device.
- Check the contents of the file /var/log/dmesg to see what the system named the device. (You can use the command dmesg as well.) It should appear as a SCSI device, so the name should be similar to /dev/sda or /dev/sdb.
- Use the command fdisk -l
, replacing with the device name from /var/log/dmesg to determine the partitions on the device. Most USB flash drives and other portable storage media types have only one partition, so the output of the fdisk command will most likely be something like /dev/sda1 or /dev/sdb1. - Create a directory (mkdir) to serve as the drive's mount point. It is recommended to use a name that is easy to remember like /mnt/usb.
- Mount the device with the mount command. If the device was detected as /dev/sda and the fdisk command showed /dev/sda1 as your partition, the command would be:
The mount command should automatically detect the partition type and mount the drive. It can be problematic to add the mount command to the file/etc/fstab, as the device may be detected with a different name if system devices are changed or if more than one USB device is plugged in at the same time. For this reason, it is recommended to mount the device manually with the full mount command listed above instead of relying on an entry in /etc/fstab.mount /dev/sda1 /mnt/usb
Thursday, July 3, 2008
Geeky way to send a terminal message to a user
How to send someone a message over linux or unix
Step 1: Type who to find out what port they are on (the pts with the number is the port)
Step 2: cat >/dev/ptx/y
Step 3: type message
Step 4: press: "Ctrl + d" to end
***could also use the "write username [then optionally pts/terminal#]
Step 1: Type who to find out what port they are on (the pts with the number is the port)
Step 2: cat >/dev/ptx/y
Step 3: type message
Step 4: press: "Ctrl + d" to end
***could also use the "write username [then optionally pts/terminal#]
Friday, November 23, 2007
What is the deal with Fedora Core 8??
For the Polar Grid project I use a job scheduler named Condor. Unfortunately attempts to get Condor running in Ubuntu have been completely unsuccessful. So I figure I need to go ahead and get use to Fedora. Fine I download spiffy new FC8 and load it up. Pretty straight forward install. The only issue I kind of had to deal with was that because I have both a SATA and an IDE drive in my system and wanted the SATA to be the primary, I had to have GRUB load on the IDE drive. No biggie.So I'm think all will be well just like it was with Ubuntu as far as general system stability. I was wrong as hell. I had constant lock-ups. Programs froze all the time. I'm not even talking about 3rd party apps which were a joke to get running, I mean built in software like Firefox and Compiz.
For you hard core nuts out there I did all of the the updates with the same results, so back I went to Ubuntu 7.10 and I have had nothing but smooth sailing.
I am going to try CentOS because I have to have Condor but as for my primary system and all of the Macs in my lab, Fedora is out.
Tuesday, August 21, 2007
Dual-booting -- Setting the default OS in Grub (Unbutu)
Ok if you have decided to just try Ubuntu out without fully committing you may have found yourself in a dual-boot situation. Well when you install Ubuntu it sets it self as the default OS. Well you may not want that or you may have other versions of Linux that you want as the default. Well that is where the grub "menu.lst" file comes into play. To open the file you type:
sudo gedit /boot/grub/menu.lst
Find the following section in the file:
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0
The important line is the last one. You will need to change that number 0 to match the Windows boot section. Typically it's always going to be 6 on a default dual-boot configuration. Change this value to 6, and then save and reboot your machine. You should go into Windows instead of Ubuntu automatically. (To figure out what number the OS you want to install is simply count from 0 down the menu to find the number of the wanted OS. In my case it was 6)
Special thanks to: http://www.howtogeek.com/howto/ubuntu/set-windows-as-default-os-when-dual-booting-ubuntu/
Friday, August 17, 2007
[Mega Linux Nerd] Shell App -- Cygwin
A PhD fresh off the boat told me about this Windows Linux Shell emulator Cygwin. Now i have to tell you that personally this isn't exactly the kill app I have been waiting for but for you ultra nerds out there that love emacs or vi or just good ole` bash commands, this is the thing for you. Now the install isn't as intuitive as would have liked because it is a live distribution. So in otherswords if you are trying to get this off a modem connection -- you might as well hang it up. Once the distribution all you get is a prompt. Nothing more just a prompt although per Dr. A you can start the xserver and possibly pull up Gnome if you really want a GUI interface but why lol? I guess if you don't have a compiler or you just want to mess with someone, this would be the app for you but, if you are looking for something to help make a person want to switch, just leave it alone.
Wednesday, August 15, 2007
Package Files (.rpm and .deb)
I just learned this here recently. Specifically I learned it from a podcast I listen to called Going Linux (Episode #12) so I have to give the credit to the narrator Larry Bushey. I highly recommend his podcast especially for new users. Having said that, lets get into this thing.In Windows we used exe and msi files to install software. There was a certain comfort there when we simply double-clicked a downloaded file to begin an install. Well--Linux has the same thing believe it or not. The two most common are .rpm and .deb. There is a catch though. Certain versions of Linux can only use certain package files natively. Rpm is generally linked to RedHat and its spin-offs (Fedora, CentOS ....). The deb packages are generally linked to Debian (go figure it makes sense lol), and its spin-offs (Ubuntu, Knoppix ...). With these packages in the correct Linux version, the installation of software is a breeze.
What if you want to install a kick but app that is in the wrong package for the Linux OS you are in?? In my case I was in Ubuntu, and there was a game that was a rpm. What to do...what to do?? Well thanks to Larry I found out about a program called Alien. Now the cool thing is Alien is probably in your Synaptic Package manager already. But if not you can get it from the this link. Now I am going to warn you that Alien is command line driven. I know I'm sorry but you have use this tool from the console. Once you have installed it and opened the console (terminal for you Fedora users) you can type:
/usr/bin/alien -d package.rpm
or if you want to go to rpm
/usr/bin/alien --to-rpm package.deb
Once it is complete you can double click on the new package and boom-bam your program will install.
Now I also want to throw in there that Alien can convert to a bunch of other packages like Stampede .slp, and Slackware .tgz file formats. Alien can also handle Solaris' .pkg.
So there you go ... happy hunt-and-pecking!!
Subscribe to:
Posts (Atom)
