Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

i installed ubuntu server, don't have internet connection but have .zip package on a cd. how do i install it?

mounted the cdrom already and can see the application

share|improve this question

closed as unclear what you're asking by BuZZ-dEE, Mateo_, guntbert, Braiam, Avinash Raj Feb 25 at 3:45

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

3  
Please clear it -- Do you want to install from zip package or extract it in a location? –  NewBiL Feb 24 at 18:00
    
i want to know how to install a package from cd..do i need to extract it first...cant use apt-get since i don't have internet on the machine –  KB1 Feb 24 at 18:05
    
What is the content of the zip file? Depending the content the installation method changes. –  Braiam Feb 24 at 18:34
    
xorg-xserver-server.zip –  KB1 Feb 24 at 18:43
    
not the name, the contents of what you are trying to archive? –  Braiam Feb 25 at 0:38

1 Answer 1

1) Unzip the archive.zip to path/to/extracted/content:

unzip /path/to/archive.zip -d path/to/extracted/content

2) Install the archive content :

  • if it's a package.deb :

    sudo dpkg -i path/to/extracted/content/package.deb
    
    sudo apt-get install -f
    
  • if it's an install-script :

    sudo bash path/to/extracted/content/install-script
    

3) Delete the installation files (package.deb or install-script) :

rm path/to/extracted/content/package.deb

or

rm path/to/extracted/content/install-script

For further needs :

  • To go into path/to/somewhere :

    cd path/to/somewhere
    
  • To see what's inside path/to/somewhere :

    ls -a path/to/somewhere
    
  • To read a text-file (any format, like .txt, .html, .sh, ...) :

    cat  path/to/text-file
    
  • To edit a text-file (any format, like .txt, .html, .sh, ...) :

    nano path/to/text-file
    
share|improve this answer
    
thanks i didnt ubuntu server comes without unzip package..gotta install this one now –  KB1 Feb 24 at 18:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.