Linuxathome.net

Linux news and help for home broadband internet users
It is currently Mon Dec 11, 2017 10:33 pm

All times are UTC + 10 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: renaming a package
PostPosted: Wed Oct 30, 2002 2:38 pm 
Offline
Newbie

Joined: Wed Oct 30, 2002 2:30 pm
Posts: 5
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!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 30, 2002 5:52 pm 
Offline
Newbie

Joined: Sun Jun 30, 2002 10:51 am
Posts: 24
Location: /dev/null
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 30, 2002 6:03 pm 
Offline
Newbie

Joined: Wed Oct 30, 2002 2:30 pm
Posts: 5
thanks for that :) makes it much easier to figure out whats going on :)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 10 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group