theCAT
  
Report a Problem:
Email: support@cat.pdx.edu
Phone: 503-725-5420
Location: FAB 82-01
  USERS PLATFORMS SYSTEM RESOURCES    
Home Students Fac/Staff CS Tutors Guidelines Windows Linux Unix Mac Mail Network Software Web TheCAT Sitemap
arrowHome arrow Unix arrow Packages Wednesday, 16 May 2012  
Unix
Packages Print
Written by TheCAT   
Wednesday, 14 September 2005

Packages are collections of tools that UNIX users can install on their account.

addpkg

This command displays the list of tools, and allows you to install or add any one of them to your account. In order to add a new package, you must select it from the list. Currently installed and/or selected packages have an X next to them. Go all the way down the list until you get OK button highlighted and press Enter to save the changes.

Image 

However, after you use the addpkg command, before you can use the package, you must do one of two things:

  • You must logout completely. That is, you must get to the point where you initially entered your login name and password. Then simply log back in.
  • Or you can source your .cshrc file, (which is located in your home directory):
205 systemname.domain.pdx.edu> source ~/.cshrc

 

delpkg

Here is a sample output from running delpkg:

		  208 systemname.domain.pdx.edu> delpkg  
Packages currently configured ->

1: mtools - Mtools for MS-DOS file transfer
2: mapleVr6 - MapleV rel 6 (Waterloo Maple Software)
3: jdk1.3.0 - Java Developer Kit v1.3.05
4: sicstus3.8 - Sicstus Prolog version 3.8

Select which package to remove (or Q to quit) : _

For example, to delete the JDK package, you would enter 3. As with addpkg, you must either logout and then log back in, or type source ~/.cshrc at the command prompt in order for the changes to take effect.

 

listpkg

listpkg lists the packages that you currently have installed.

		  212 systemname.domain.pdx.edu> listpkg 
The following packages are configured :

mtools - Mtools for MS-DOS file transfer
sicstus3.8 - Sicstus Prolog version 3.8
mapleVr6 - MapleV rel 6 (Waterloo Maple Software)
jdk1.3.0 - Java Developer Kit v1.3.0
Last Updated ( Monday, 08 March 2010 )
EB Stairs
EB Stairs
Upcoming Events
There are no upcoming events currently scheduled.
View Full Calendar

©1999 - 2012 TheCAT