Solved

Installing applications in Linux

Posted on 2004-09-29
15
207 Views
Last Modified: 2010-04-20
Im having trouble installing Adobe Acrobat on Mandrake. I have a file named "install" but when I click it I get asked what program I want to to open it with. I thought the install script would simply run the installation.
0
Comment
Question by:me1191
  • 5
  • 3
  • 3
  • +2
15 Comments
 
LVL 6

Expert Comment

by:knollbert
ID: 12179502
Is it the MS Windows app if so it won't run with out an application like Crossover office
www.codeweavers.com

You may already have programs that make PDF files installed on your Linux box
Open Office as the ability to create PDFs
If KDE is installed it creates a Pseudo printer to print to PDFs
0
 
LVL 11

Expert Comment

by:avizit
ID: 12179895
you have to run that install scriot in a command line shell


open up a terminal   xterm etc will do

go to the directory having the install file and type

./install

0
 

Expert Comment

by:skewray
ID: 12180418
Since it won't run by itself, perhaps it is not executable.  The first step would be to open an x-windows shell tool such
as xterm or konsole, move to the appropriate directory, and type in "file install".  This will tell you what type of file it
is.  Since it is most likely a Bourne shell script, you could just try "sh install" right from the start.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 11

Expert Comment

by:avizit
ID: 12180448
or you can also make it executable first

i.e

chmod +x install
and then
./install
0
 
LVL 14

Expert Comment

by:JohnK813
ID: 12180879
Often (from what I've seen at least), when you download a tarball for installing a program, the file INSTALL is just a readme file with instructions to install the program.

As skewray said, run "file install" in xterm.  If it is a text file, type in "less install" to read the file.  It will probably tell you the commands to run are:

./configure
make
make install

Again seconding skewray (in which case, give the points to him), it could also be a shell script file, in which case "sh install" should work.
0
 
LVL 11

Expert Comment

by:avizit
ID: 12181030
Right bout the configire/ make /make install thing

but if its the acorbat reader downloaded from acrobat.com site then INSTALL is a shell script file

which you can run either by
sh install or

./INSTALL    /* if its already executable */

else by doing

chmod +x INSTALL
and then
./INSTALL
0
 
LVL 14

Expert Comment

by:JohnK813
ID: 12181087
avizit - I wasn't sure at first, but now I do remember that Acrobat does download like that.  In that case, me1191, there's your correct answer.
0
 

Author Comment

by:me1191
ID: 12182658
I typed chmod +x INSTALL and got.. chmod: cannnot access 'INSTALL': no such file or directory. I really dont understand Linux at all:( Why not just have executables to install programs and why not just have drivers you install by double clicking on them:( Linux will never catch on, because you just need far far too much free time to learn how do the most basic things. Anyway any ideas why im getting this error?
0
 
LVL 6

Expert Comment

by:knollbert
ID: 12182708
Linux is also case sensitive
so it maybe
./install    
OR
./Install
0
 
LVL 14

Expert Comment

by:JohnK813
ID: 12182728
Also make sure you're in the correct directory.  The command to view your current directory is

pwd
0
 
LVL 11

Expert Comment

by:avizit
ID: 12182729
dont worry ..its just confusing at first .. it gets easier :)

anyway go to the directory where the INSTALL file is located and
type

./INSTALL    
or

sh INSTALL

as skewray  and  JohnK813  
either way should be fine

also this might be helpful http://cmisip.home.insightbb.com/newbie.htm 
0
 

Author Comment

by:me1191
ID: 12184189
Then thats my problem, im not going to the directory. The file is on a cd that I made in windows. I could drag it onto the desktop if that would make it easier. Can anyone tell me what to type in order to change directory? I have a basic knowledge of dos and the new command prompt so please be gentle. I would doubt that its "cd" and even so I dont even know anything at all about the Linux directory structure or filing system, and as such have no idea what the path for either cdrom or desktop is. Im gonna double the points on this because it seems much harder than I first thought.
0
 
LVL 6

Expert Comment

by:knollbert
ID: 12185137
It is indeed "cd"
if logged in as root it would most likely be in
/mnt/cdrom probably

thus
cd /mnt/cdrom
0
 

Author Comment

by:me1191
ID: 12185596
Im now getting to the directory but I cant get into the linux-509.tar.gz file, which contains Acrobat. Ive moved the file to my desktop for handyness. I tried a few different things but I can only get as far as cd mnt/home/chris/Desktop and can do nothing at all with the Adobe file. Like I said im kinda new to all this and have very little experience with dos and the like. What commands do I need now? I tried ./INSTALL etc but nothing happens. I just wish I could get my modem working then I could stay in Linux instead of going back and fourth:(
0
 
LVL 11

Accepted Solution

by:
avizit earned 200 total points
ID: 12186071
1) do a mkdir  /tmp/acrobat

2) copy  linux-509.tar.gz into your /tmp/acrobat  directory

so that there is a file  

/tmp/acrobat/linux-509.tar.gz  

2) now do a

cd /tmp/acrobat

3)  now type
tar -xvzf  linux-509.tar.gz

4) no you should be having INSTALL in /tmp/acrobat

type
./INSTALL

and if that doesnt work
try chmod +x INSTALL and then
./INSTALL

or just

sh INSTALL




0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question