Moving from windows to ubuntu 12 linux for development [closed] - linux

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
i am java developer, i used fully windows for development, now i want to move to ubuntu 12 for development, i even found difficult when i tried to install new software, its not that easy to install new software in Ubuntu ?.
1) In windows we just click it for installing software, so am i need to know commands in linux ?
i am almost new to linux,
2) what are the basic thing i need to know about linux(ubuntu) or where can i get info
(FOR DEVELOPMENT).
I used
1,Eclips
2,Jdk
3,Sts (spring IDE)
4, Android SDK, etc....
now i need these development tools for ubuntu, can i get these tools in one place.
THANKS

You can install Eclipse from apt-get: sudo apt-get install eclipse.
You can install the open source variation of the Java JDK with: sudo apt-get install openjdk-7-jdk.
Never used it, but I've seen many places where it has been installed in Ubuntu.
As for Android, you can install it pretty much the same way as you would in Windows.
Download it from: Android developer site
Get a dependency for 32 bit libs (if you are running 64 bit): apt-get install ia32-libs
Extract the tar file anywhere, and use the terminal 'cd' command to go into the 'tools' directory, then Use ./android inside.
Etc. As for all around Ubuntu help I urge you to visit http://ubuntuforums.org/forumdisplay.php?f=310 for Ubuntu programming or just the forums in general for Ubuntu help. You can also get a bunch of packages by searching apt-get with apt-cache search -what you want-, which can be handy for finding packages.

Related

How to install software on a prorietary linux distro with no repos given? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 12 months ago.
Improve this question
I want to install some basic packages on a proprietary Linux distro based on RHEL (I think).
I tried going the usual dnf install foo way, but quickly found out there are no repositories in /etc/yum.repos.d/.
Since it is based on RHEL, I tried adding some RHEL repos, but still cannot install anything from them. I also tried downloading a package and install it from a local repo as explained here. But no packages are detected in the repo. My guess is that the proprietary distro is (too?) different from RHEL so those repos are not recognized.
So my question is: How do I install packages on a proprietary Linux distro? Is it only possible to install from repos that are meant precisely for the distro I am using? Or could it be that repos for another distro might work? The only other way I can think of is to try to find all the Git repos of all the packages I want to install to install them from source.
There are few possible ways:
activate your RHEL machine.. This include create account in RH. And
its free for small number of machines. More info here.
Download the package and do a local install:
dnf localinstall package.rpm
You should download and install all dependent packages also.
To update you can use nondocumented option:
dnf localupdate package.rpm

Package 'libpng12-0' has no installation candidate Ubuntu 18.0.4 [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I'm trying to install WPS office and it depends on libpng12-0 which I can't install due to "Package 'libpng12-0' has no installation candidate
". I'm running Ubuntu 18.0.4 LTS.
... trying to install WPS office and it depends on libpng12-0
You can use the Ubuntu 16.04 package http://se.archive.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb
Download, and install ...
sudo gdebi Downloads/libpng12-0_1.2.54-1ubuntu1_amd64.deb

Installing Chromium on Raspberry Pi running Arch linux with pacman [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
I have a Raspberry Pi running: Linux 3.10.35-1-ARCH
How do I install the chromium web browser? I have tried the following:
pacman -Syyu
Followed by
pacman -S chromium
error: target not found: chromium
When I've downloaded the 'google-chrome-dev' from AUR it says:
==> ERROR: google-chrome-dev is not available for the 'armv6h' architecture.
Note that many packages may need a line added to their PKGBUILD
such as arch=('armv6h').
I'm beginning to think that chromium doesn't exist on Arch linux. Any thought on how to install it?
You are right. The ARM version of ArchLinux only has packages to armv7.
You can try to compile it using makepkg or packer, but I wouldn't be surprised if this would take hours/days...
If you want to try, download this file to some directory and run in the same path
$ makepkg
try pacman -S chromium-browser

What is the best way to install nodejs on OSX? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I see you can download nodejs via homepage or install via homebrew or via macports.
which is the best method?
Is there a reason for choosing one over the other?
Some things I consider:
1. Ease of upgrading to latest version
2. Ability to (fully) remove and uninstall
3. 1 and 2 should leave no trace of old version (including any temp files), or in case of uninstalling, should fully remove everything.
I prefer to use brew.
once installed its as easy as:
brew install node
Done and done.
Don't want it anymore?
brew uninstall node
Need to upgrade?
brew upgrade node
Plus, its based on git and the community is very active.
Furthermore, the packages that are installed are always in one place, then symlinked to your /usr/local/bin, so no messy sudo or multiple install locations.
Checkout the site here
Use the Mac OS X Installer as upgrading is easier in the future.
I personally like to compile from source.
https://github.com/joyent/node/wiki/Installation
You can use NVM for upgrades and downgrades and even switching between different versions at any moment!
https://github.com/creationix/nvm

If I installed Mongo through apt-get, how do I update it? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
It seems like they gave me 1.4.4 Which is not the latest.
Is this normal? I want 1.6. But I'm afraid that if I do apt-get uninstall, bad things will happen.
I'd recommend using the official Ubuntu and Debian packages ...
http://www.mongodb.org/display/DOCS/Ubuntu+and+Debian+packages
That'll make sure you'll always get the latest stable version. If you use this on Ubuntu (for example) MongoDB will install to /var/lib/mongodb/ (instead of /data/db/)
So, if your data is already in /var/lib/mongodb/ you should be fine doing an uninstall and reinstall from the offical packages ... it shouldn't remove that dir unless it was a horible port in the first place!
Simply making a backup copy of that dir should do the trick if you are worried, good practice anyhow.
You can also always move your DB files into that dir after the install and MongoDB will pick them up (normally.)
Before you do anything however, just make sure you do a clean shutdown first! That way you won't end up with a mongod.lock file which won't let you do a restart w/o a repair.
$ ./mongo
> use admin
> db.shutdownServer()
I'd recommend not to touch your distribution and operating system version, and go for the simple solution of installing a downloaded package: www.mongodb.org/downloads.
Especially if you are using Debian, since Mongo 1.1.6 is supported only on unstable - packages.debian.org/search?keywords=mongodb
Tip: If you are on Debian or Ubuntu, check this page: http://www.mongodb.org/display/DOCS/Ubuntu+and+Debian+packages
Installing anything via apt-get installs whichever version is the default from all known repositories. By default that only includes your distributions repository (Debian, Ubuntu, ...).
Those repositories contain well-defined, well-tested versions of the software. They don't always get updated to the latest version (or may be somewhat slow).
If you require a specific version (or the latest one), then you need to find a repository that provides that version (possibly provided by the developers of the software) or install it via other means.
Frankly, this is a question about Debian packaging system. Anyway here it is my suggestion.
Make sure you have listed "unstable" in apt-get sources:
# cat /etc/apt/sources.list.d/unstable.list
deb ftp://<your closest debian mirror>/debian/ unstable main contrib non-free
deb-src ftp://<your closest debian mirror>/debian/ unstable main
Find your mirror in the list of mirrors
Then do
apt-get update
apt-get install mongodb-server /unstable
apt-get install mongodb-clients /unstable
(be careful if it's your production -- MongoDB will be restarted)
And by the way, the latest version of MongoDB in Debian "unstable" is 1.6.5: MongoDB in "sid"

Resources