theCAT
  
Report a Problem:
Email: support@cat.pdx.edu
Phone: 503-725-5420
  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 Friday, 10 October 2008  
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 enter in the index number given at the start of a row.

205 systemname.domain.pdx.edu> addpkg
.
.
.
53: summit-verilog - Summit Visual Verilog v5.2
54: TeX-3.14159 - TeX version 3.14159 formatting tools

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

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
Intel Lab - Fab 55-17
Intel Lab - Fab 55-17
Upcoming Events
There are no upcoming events currently scheduled.
View Full Calendar

©1999 - 2008 TheCAT