Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I tried installing flashplayer with ./configure but as I typed it in Terminal it shows "no such directory exists" while I 'm in right directory (I have un tar ed the flashplayer), I tried it with Synaptic Pkg Manager but when I go to add downladed pkges the pkg (flashplayer) appeared un highlighted and can not select it ? My Synaptic doesn't ask for root password when opened please I need to install some CAD software urgentlly so How can I make thiss all install ? (I'm trying to learn installation with flashplayer as it is known and simple)
i am ASSUMING you are running Debian or Ubuntu ????
What is your operating System and version ?
is it 32 bit or 64 bit
What is your hardware specs ?
Did YOU install the os or was it preinstalled when you bought the computer?
some more info is needed for us to help.
in order to build the source code
-------------
./configure -- prefix=/use - - more options
make
su
make install
----------
you need to have the " Development Tools " and " Development Library's" installed for YOUR operating System and ALL of the prerequisites installed for that program .
I'm on Debian AMD64 (I installed it by mistake from directly net, it was supposed to be i386 for my processor is Intel dual core, mercury main board, BUT IT IS RUNNING WELL, I think 64 bit is supported on my PC), I done all that "cd" thing and reached exactly to un tar ed folder of flashplayer which has one *.so and one flashplayer installer file, after "cd //home/christian/c/falsh_player"in which above mentioned two files are present I typed "./configure" but it returned with "no such directory exixsts" in Synaptic the flash player (those two files) just doesn't open
As flash player is not supported for 64 bit I'll try it later, as of learning installation is concerned I'm trying my PICKIT2 but, see what happens
Code:
PC NAME://home/christian/d$ cd //home/christian/d
PC NAME://home/christian/d$ ls
pk2cmdv1-12Linux2-4 pk2cmdv1-12Linux2-4.tar.gz
PC NAME://home/christian/d$ cd //home/christian/d/pk2cmdv1-12Linux2-4
PC NAME://home/christian/d/pk2cmdv1-12Linux2-4$ ./configure
bash: ./configure: No such file or directory
PC NAME://home/christian/d/pk2cmdv1-12Linux2-4$ ./Configure
bash: ./Configure: No such file or directory
PC NAME://home/christian/d/pk2cmdv1-12Linux2-4$ ls
pk2cmd PK2V023200.hex usbhotplug.txt
PK2DeviceFile.dat ReadmeForPK2CMDLinux2-4.txt
PC NAME://home/christian/d/pk2cmdv1-12Linux2-4$
cd into flashplayer directory.if you type ls you should see libflashplayer-installer and libflash.so
you can run installer with ./flashplayer-installer as root.or you can just copy the libflash.so to your browser plugins folder...
/usr/lib/mozilla/plugins
/usr/lib/firefox/plugins
/home/urname/.mozilla/plugins
you dont use ./configure to install flash player..thats a command you use for building packages from source code
also for that program your trying to compile..did you read the read me's??when you build from sources read the read me's
A Makefile is provided for compiling on several versions of Linux and Mac OS X.
Select the system either by uncommenting one of the TARGET options in the
Makefile or by specifying the target on the command line.
make linux Build for Linux kernel 2.6
make linux-old Build for Linux kernel 2.4
make freebsd Build for FreeBSD (See FREEBSD NOTE below)
make mac104 Build for OS X version 10.4
make mac105 Build for OS X version 10.5
After successfully compiling pk2cmd, use su or sudo to run 'make install' as
root. The pk2cmd binary will be copied to /usr/local/bin with the 's'
permission bit set (necessary for running pk2cmd as a non-root user). The
device data file, PK2DeviceFile.dat, will be copied to /usr/share/pk2. If
/usr/share/pk2 doesn't already exist, it will be created by running
make install.
PC NAME:~$ su
Password:
PC NAME:/home/christian# cp -i //home/christian/c/libflashplayer.so ~/.mozilla/plugins
PC NAME:/home/christian#
But still on youtube it shows I don't have flashplayer
And yes hat is what I want to learn "How to install files (or build or whatever you may called) from *.tar.gz fromat" and that is WHY I AM TRYING ./configure and still have the same problem, In short I want to and really need to learn how to install applications from *.tar.gz format and why ./configure return with "no such directory exists"PLEASE IT IS VERY URGENT I NEED TO DO A PROJECT WITH PIC KIT 2, don't bother much about flash player tell me first how to overcome this ./configure stuff
Just read Replay from STARTOTAK, I'm a hardware guy (progarmming microcontrller), I don't understand what the readme says I'm attaching it here, as for the download the readme mentions in "installation" section from microchip.com I allready have it. PLEASE GUIDE ME
your on a 64 bit system?you download adobes 64bit ?I believe its /usr/lib64...
As far as that program you dont use ./configure on it..its "make linux" "make install"
Majority of times it will be
./configure
make
make install
but not always..you need to read the readme files in source code folder..it will tell you what you need to know to build .
If your going to build from source do you have build-essential installed??that will install basics you need build and compile..
i downloades source code and built it..you will need libusb-dev..look for it in synaptic..I built it but didnt install it..I have no use for the program..just make sure you have build-essential installed and libusb-dev..heres the make output..
O.K. first PICkit2 is a USB microcontroller programmer which I NEED to and HAVE TO install on my Debian, I have the following files from the microchip (menufacturer of PICkit2),..... pk2cmd , pk2Devicefile.dat , pk2v023200.hex , ReadmeforPK2cmdLinux.txt , usbhotplug.txt, which file I should use to build and compile and how would I do that ?
Just read the reply what Build essentials and how would I verify I have it ?
Last edited by chrischristian; 01-13-2009 at 12:45 AM.
ok..from the top..download the source code..extract it..cd into the directory..from reading the readmes you should read the usbhotplug.txt
"Please read the file 'usbhotplug.txt' before compiling and installing pk2cmd.
It explains how to set up USB udev or hotplug rules so pk2cmd can be run in
user mode. You must also have libusb (http://libusb.sourceforge.net) installed"
then after you do whatever usbhotplug.text tells you to do.
Then in source code directory you
make linux then when its done you..
make install
and then quoting from make readme..
"After successfully compiling pk2cmd, use su or sudo to run 'make install' as
root. The pk2cmd binary will be copied to /usr/local/bin with the 's'
permission bit set (necessary for running pk2cmd as a non-root user). The
device data file, PK2DeviceFile.dat, will be copied to /usr/share/pk2. If
/usr/share/pk2 doesn't already exist, it will be created by running
make install.
Both of these directories must be in your PATH variable. /usr/local/bin should
normally be in your PATH by default. If you're using bash as your command line
interface, edit the file .bashrc in your home directory to include:
PATH=$PATH:/usr/share/pk2
export PATH
Some similar procedure should exist for other command line shells; consult your
system's documentation. You'll need to restart your window manager for these
changes to take effect."
and build-essential can be installed with apt-get
apt-get install build-essential
and like i said you will need libusb and libusb-dev..libusb should already be installed
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.