Linuxathome.net https://www.linuxathome.net/forum/ |
|
renaming a package https://www.linuxathome.net/forum/viewtopic.php?f=1&t=125 |
Page 1 of 1 |
Author: | Mogz [ Wed Oct 30, 2002 2:38 pm ] |
Post subject: | renaming a package |
gday, our uni used to use g++ version 2.9.5 or something like that and they recently upgraded to 3.2, however they renamed the old g++ to g++2. just wondering how i would go about doing something like that on my own computer - red hat 8 thanks ah and one other thing if i wanted to use ssh to go to say address.edu.au but just wanted to type ssh address how would i go about doin that? is it possible? i tried using aliases but that didnt work.. - could it be to do with the hosts file perhaps? sorry dont know much about it yet - ive been on and off linux for a while and hence keep forgetting the basics thanks! |
Author: | redlander [ Wed Oct 30, 2002 5:52 pm ] |
Post subject: | |
renaming packages: find what files the package needs (rpm -qipl package.rpm or equivalent) and rename them. if you're lucky you could get away with just renaming the binaries, otherwise you would have to rename the libs also. throw a script together if thats the case - i wouldn't like to rename gcc + libs by hand. ssh address thing: you could change your dns suffix in /etc/resolv.conf to .edu.au but i wouldn't recommend it. easiest thing to do is echo "ssh address.edu.au" > ~/bin/address ; chmod +x ~/bin/address and then you could connect just by typing address - that's what i do for the boxes i access alot. |
Author: | Mogz [ Wed Oct 30, 2002 6:03 pm ] |
Post subject: | |
thanks for that makes it much easier to figure out whats going on |
Page 1 of 1 | All times are UTC + 10 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |