when run make install command in opensuse for install wine it not work - wine

i need install wine in oensuse but
when run make install command in opensuse for install wine it not work
./configure and make and make dependency work well but make install dont work
error is :cant create new folder access is denied
i need guidelinefor install tar.gz file in opensuse
tnx

Aside from the fact that this is software, rather than programming support, you need to run "make install" with root privileges:
sudo make install

Related

vs code not installing on Chromebook

I was trying to install vs code on Chromebook with Linux but i get it off the website and go into the file and it says "apt is not install able" and things like it for about five rows of text I hope someone knows the answer.
Try beginning with sudo apt install as opposed to apt install. Linux can be wishy washy when it comes to installs in the terminal.

Darcs installed with cabal not registered as shell command

As a part of installing Ubuntu on my computer, i apt-get installed cabal. After running cabal update, i ran cabal install darcs, discovered that i needed curses, installed libncurses5-dev, discovered that i needed curl, installed that, and when it still didn't work, ran cabal install darcs -f-curl.
This worked, but darcs doesn't run from the shell when just running darcs. It was installed in ~/.cabal/bin/darcs, so i made a link from there to /bin. Darcs now works from the shell, but i am left wondering if there is a better way to do it, perhaps running cabal install under sudo?
cabal by default installs without needing administrator privileges. As such, it can't install into e.g. /usr/bin. Since $HOME/bin isn't a standard, the compromise is to put executables into ~/.cabal/bin.
You can then add ~/.cabal/bin to your path to see these executables (e.g. by appending the following to your .bashrc:
export $PATH=$PATH:~/.cabal/bin
If you have admin privledges in your machine, by all means use the --global flag.
Firstly, do not use sudo. Even when run under root, cabal builds stuff in your home directory, so using sudo indiscriminately can lead to root-owned files in your ~/.cabal. Instead, set root-cmd: sudo in your /.cabal/config, then cabal with the --global option will invoke that command as appropriate.
Secondly, using local installs is generally more convenient and safer than using global ones, because you keep your package manager and cabal separate. So you could just as well add this to your ~/.bashrc:
export PATH=$HOME/.cabal/bin:$PATH
and then continue to install stuff without using sudo at all.
See also: a slightly over-pessimistic, but nevertheless informative article on cabal package management.
The --global flag is what is needed in this case. Running sudo cabal install darcs -f-curl --global, with -f-curl because cabal couldn't find curl, --global to make it install into usr/local/bin, and sudo just to be sure, works.

installing node.js on dedicated server

ok so I got a dedicated linux server and I'm trying to install node.js
i ran
wget http://nodejs.org/dist/node-v0.4.11.tar.gz
tar zxf node-v0.4.11.tar.gz
cd node-v0.4.11
all is well
then i ran
./configure
and i got
Checking for program g++ or c++ : not found
Checking for program icpc : not found
Checking for program c++ : not found
wscript:232: error: could not configure a cxx compiler!
so i google that error if found a page that says run this
sudo apt-get install build-essential libssl-dev curl git-core
but then i get
-bash: sudo: command not found
please help me I don't know what to do now
If you are running some debian based distro, that code should work. Since you are running CentOS, you can follow this link. Different linux distros use different package managers. It looks like that debian is the most popular (ubuntu, mint, debian...) so many online tutorials you find use apt to get everything installed. Your choice is different and you should use rpm/yum. Since you are missing gcc compiler, you should try executing this command (you should probably add some more packages, not sure):
yum install sudo gcc-c++
EDIT: Updated link to serverfault.com
Actually the error output tells you exactly what's missing: sudo. Quick Googl'ing should reveal what this tools meaning is: It lets you execute commands with root privileges, provided you have access to a user account that's privileged enough to use this functionality.
So you need root privileges to install packages. This is not surprising. If sudo is not installed, you most probably either
are logged in as root, in which you can use apt-get without the sudo in front
are not logged in as root and thus don't have the necessary permissions to install packages. In that case, you are unlucky and you need to talk to the administrator.
UPDATE: From your comment to the other answer I take it that you are running with user privileges and do not have su in your PATH. Do you know the root password? If yes, you can try if /bin/su works. If no, you don't have enough privileges.

How to install libmysql under Cygwin?

I am trying to build db-mysql extension for NodeJS under Cygwin. The problem is, that it requires libmysql development libraries and include files. I have no idea how to install (and where to get) this stuff to work with Cygwin. Under Ubuntu i would write something like this:
sudo apt-get install libmysqlclient-dev
But this is not possible under Cygwin. Also there is no available libmysql package when I run Cygwin's setup.exe. Does anybody know how to solve this isue?
I have installed wamp under Windows which includes MySQL database. I would like to use databases from that installation under Cygwin, is that possible?
Thanks
It's available from Cygwin Ports, a large repository of additional Cygwin packages that can be installed through Cygwin's setup.exe.

download emacs binary for linux?

I am trying to install emacs in offline computer.
but every time I try to build from the source and install it, it doesn't make it.
too complicated.
(terminal ./configure => error try with --without-makeinfo,
after a while, error try with --without-x,
after a while, error can't find emacs version...(and I also want to use X version))
so I want to download emacs binary file but I can't find for linux one.
where can I download pre-build binary emacs 23.3(lastest) for ubuntu?
I can download emacs 23.3 binary file for windows but not for ubuntu.
You could get the deb file directly from http://archive.ubuntu.com/ubuntu/pool/universe/e/emacs-snapshot/emacs-snapshot_20090909-1_amd64.deb and then try to install it using dpkg -i but there will probably be dependencies which you might miss. I'd suggest you try an apt-get install emacs-snapshot on your target machine. It will tell you all the packages it needs to fetch (along with URLs). Fetch all of them from a machine connected to the net and then dpkg -i those packages.
You can try the Ubuntu Emacs PPA here.
type in terminal
apt-get update
apt-get install emacs
for compile, are you download last version ? http://ftp.gnu.org/pub/gnu/emacs/
you can download deb file here
http://ir.archive.ubuntu.com/ubuntu/pool/main/e/emacs23/

Resources