I am wanting to install Musescore on my Raspberry Pi 2 Model B running Raspbian. It is avaliable as a Linux download, but i am not sure how to go about it. I have Chromium installed so I can browse the internet and download the file, but i fear it may not be as easy as downloading an EXE and clicking on it like in Windows. Any tips?
jakehewison said:
I am wanting to install Musescore on my Raspberry Pi 2 Model B running Raspbian. It is avaliable as a Linux download, but i am not sure how to go about it. I have Chromium installed so I can browse the internet and download the file, but i fear it may not be as easy as downloading an EXE and clicking on it like in Windows. Any tips?
Click to expand...
Click to collapse
Open a terminal and try with the following commands:
Code:
sudo apt-get update
sudo apt-get install musescore
If the application is available in the official raspbian repository, it will download and install it.
Related
Ive managed to get the debian shell working under term emulator and have made a decent size img file for everything i need. Im trying to install tightvncviewer and icewm. when i apt-get install (either package), apt-get cant find certain files, causing them to not work. i did the fix-missing but same thing, didnt work. Is their anyway to upgrade apt-get's package list so it actually downloads all the required packages for tightvncviewer and icewm or what, im all out of ideas. ive tried apt-get -u upgrade, apt-get upgrade, and apt-get dist-upgrade.
thanks for any help
Hey guys, I wanted to toss this together real quick for those who recently upgraded their 'Buntu box and couldn't remember the steps to install the JDK.
Hopefully you'll find the steps outlined below simple and easy to follow.
Lets get on with it!
First download the JDK:
http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u27-download-440405.html
You'll want the Linux x64 - 'Self Extracting Installer'
How'd you like me linking to it? Now you don't have to go searching all over the place, lol
Place it on your Home folder.
Note: Currently only JDK 6 is supported by the Android SDK.
The downloaded file should look like this once complete:
jdk-6u27-linux-x64.bin
To install, download this file and use the following instructions.
1. Check the download file size.
2. Make sure that execute permissions are set
To do that, open the Terminal (Ctrl+Alt+T) and run this command:
Code:
chmod +x jdk-6u27-linux-x64.bin
Now move that file to your Desktop.
3. Create your install directory and then CD into it. This is where you want the JDK to be installed.
I did:
Code:
mkdir JDK
cd JDK
The next step installs the JDK into the current directory.
4. Run the self-extracting binary.
Code:
../Desktop/jdk-6u27-linux-x64.bin
The binary code license is displayed, and you are prompted to agree to its terms.
The Java Development Kit files are installed in a directory called jdk1.6.0_27. This is in that JDK folder you created earlier.
5. At this point you can delete the bin file if you want to save disk space.
6. Next you should really configure your JDK. Follow these steps.
Open your Home folder. Press Ctrl+h. This unhides the 'hidden' files in your Home folder.
Look for a file called .bashrc and open it.
At the very end of that file add these lines:
Code:
export JAVA_HOME=$HOME/JDK/jdk
export PATH=.:$JAVA_HOME/bin:$PATH
Make sure there is one blank line above those two lines.
Save that file and close all open windows.
Now you can verify your Java version which also lets you know it is installed properly as well.
Re open the Terminal (Ctrl+Alt+T) and type:
Code:
java -version
I get an output like this one but yours may vary. Just as long as you can see the Java version:
Code:
java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode)
Congrats! You just installed the JDK on your Ubuntu 11.10 x64 box.
Now you can go and install the Android SDK
Not sure if you knew this stang, but after I upgraded to 11.10 x64, this is all I did to get the jdk:
sudo apt-get install openjdk-7-jdk
The tricky part is remembering to reinstall ia32-libs to get adb working again.
This page is a must have after upgrading:
http://www.webupd8.org/2011/10/things-to-tweak-after-installing-ubuntu.html
***I'm mobile
jermaine151 said:
Not sure if you knew this stang, but after I upgraded to 11.10 x64, this is all I did to get the jdk:
sudo apt-get install openjdk-7-jdk
The tricky part is remembering to reinstall ia32-libs to get adb working again.
This page is a must have after upgrading:
http://www.webupd8.org/2011/10/things-to-tweak-after-installing-ubuntu.html
***I'm mobile
Click to expand...
Click to collapse
Ah your totally and completely right! I did not know that is what YOU did! Wow, now I know, lol
But yea man, I knew about OJDK. I still prefer using the real deal even if it takes a bit of extra work.
Thanks for sharing though for others that may not have been aware of ojdk. I probably should have put that in the OP as an alternative method. I'll update it in a little while when I get back home from dropping the kid off.
Ok! Cool beans. It seems to work well for ddms and such. I seem to always opt for the "open" stuff.
If you want the official Sun jdk it's:
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin
I uninstalled OJDK and did the 3 commands above to verify. Here are the results:
Code:
$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
Many ways to get to the same result.
If a guide is needed for u to updaye jdk on a *nix box, u probably won't make it far :'(
jermaine151 said:
Ok! Cool beans. It seems to work well for ddms and such. I seem to always opt for the "open" stuff.
If you want the official Sun jdk it's:
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jdk sun-java6-plugin
I uninstalled OJDK and did the 3 commands above to verify. Here are the results:
Code:
$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
Many ways to get to the same result.
Click to expand...
Click to collapse
You got the same thing except one version older. Weird.
I upgraded from 11.04 to 11.10, but I already had my build environment set up. Does the upgrade break anything, or is this only for new Oneiric installations?
Well, its whatever. People on XDA would much rather bash those that need help than to actually help them. I'm still learning but I can't get anywhere with these types of comments. So until then I'll be over at themikmik.com.
Follow me if you truely care. If not, nice knowing ya.
Hello Everyone.
Let me just start by saying I AM NOT a developer and do not take credit for this information. Just did some Googling and came across it and I haven't really seen this in the forum here and I really found it useful. It is a link to an article with instructions on how to set up ADB without the massive developer download that comes packaged with the standard Android SDK. Written by Lalit Indoria on the "Hack My Android" site.
Basically it allows you to easily run ADB commands without ANY complicated set up. Remember you will still need the proper drivers for your device and always follow instructions so you don't bork anything up. I followed this to both flash the new 4.4 image and also root my Nexus 4. With it being the weekend I don't suspect we will get any OTA until Monday at the earliest so for those of us that are growing ever impatient.. here you go. Enjoy. :good:
http://www.hackmyandroid.com/use-adb-fastboot-commands-without-installing-android-sdk/2479
Also on recent debian distributions (currently debian jessie - testing - and debian sid - unstable), or ubuntu quantal and newer, you can simply install adb and fastboot by installing a few packages:
Code:
sudo apt-get install android-tools-adb android-tools-fastboot
jcnbama said:
Hello Everyone.
Let me just start by saying I AM NOT a developer and do not take credit for this information. Just did some Googling and came across it and I haven't really seen this in the forum here and I really found it useful. It is a link to an article with instructions on how to set up ADB without the massive developer download that comes packaged with the standard Android SDK. Written by Lalit Indoria on the "Hack My Android" site.
Basically it allows you to easily run ADB commands without ANY complicated set up. Remember you will still need the proper drivers for your device and always follow instructions so you don't bork anything up. I followed this to both flash the new 4.4 image and also root my Nexus 4. With it being the weekend I don't suspect we will get any OTA until Monday at the earliest so for those of us that are growing ever impatient.. here you go. Enjoy. :good:
http://www.hackmyandroid.com/use-adb-fastboot-commands-without-installing-android-sdk/2479
Click to expand...
Click to collapse
Mini-adb comes with adb.exe, fastboot.exe and two adb .dlls needed to run adb in windows. So basically to run adb all that is required is 3 files. Also fastboot doesn't require anything except the executable. Mini-adb has been out there for about 2 years that I know of on androidforums.
fredericve said:
Also on recent debian distributions (currently debian jessie - testing - and debian sid - unstable), or ubuntu quantal and newer, you can simply install adb and fastboot by installing a few packages:
Code:
sudo apt-get install android-tools-adb android-tools-fastboot
Click to expand...
Click to collapse
If you do that, you also need to do step 1 from here: http://bernaerts.dyndns.org/linux/74-ubuntu/245-ubuntu-precise-install-android-sdk
You can install the Wugs nexus toolkit. It has all the features you need.
eksasol said:
If you do that, you also need to do step 1 from here: http://bernaerts.dyndns.org/linux/74-ubuntu/245-ubuntu-precise-install-android-sdk
Click to expand...
Click to collapse
That was not necessary on my debian Sid install. Yesterday I simply installed the packages, Co nected my nexus 7 and used adb sideload to flash the kitkat ota.
The steps seem to apply to Ubuntu precise. Maybe it is not necessary in newer versions.
I've got 2 linux boxes sitting on my desk, one is running Arch the other Ubuntu 14.04. Both machines are able to detect fastboot mode if I boot it using the stock recovery but neither is able to connect using ADB when booted to system or recovery unless sideload is enabled.
I've seen plenty of posts of people using adb in linux so I'm just trying to figure out what I'm missing. Thanks
For adb when you're fully booting into stock or a rom, do you have adb enabled in developer options?
Sblood86 said:
or recovery unless sideload is enabled.
Click to expand...
Click to collapse
That is how it is suppose to behave. Adb is not active until you select the adb sideload option.
I'm on linux.
Sblood86 said:
I've got 2 linux boxes sitting on my desk, one is running Arch the other Ubuntu 14.04. Both machines are able to detect fastboot mode if I boot it using the stock recovery but neither is able to connect using ADB when booted to system or recovery unless sideload is enabled.
I've seen plenty of posts of people using adb in linux so I'm just trying to figure out what I'm missing. Thanks
Click to expand...
Click to collapse
You can dissect the Linux VM I'm using for adb.
i386 VM http://tinyurl.com/zok3o93
amd64 VM http://tinyurl.com/j75g5ju
It's a bare bones install. Installed only 2 packages, android-tools-adb and android-tools-fastboot, and grabbed the skia tar for adb 1.0.32.
I am running as root when I use adb.
If you happen to be using an x64 kernel, I saw mentioned for adb 1.0.32. One would need to grab the following packages for it to work.
dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libstdc++6:i386 libncurses5:i386
thekrakah said:
You can dissect the Linux VM I'm using for adb.
i386 VM http://tinyurl.com/zok3o93
amd64 VM http://tinyurl.com/j75g5ju
It's a bare bones install. Installed only 2 packages, android-tools-adb and android-tools-fastboot, and grabbed the skia tar for adb 1.0.32.
I am running as root when I use adb.
If you happen to be using an x64 kernel, I saw mentioned for adb 1.0.32. One would need to grab the following packages for it to work.
dpkg --add-architecture i386
apt-get update
apt-get install libc6:i386 libstdc++6:i386 libncurses5:i386
Click to expand...
Click to collapse
Long story short I wound up bypassing the need for ADB in the first place. Sorry to have bothered people
I expect it was the fact that I hadn't actually found the option to enable ADB in the settings however.
What linux version could I install on my Mi8?
What method would be advisable?
In the past some people has installed Linux on their smartphones, but only some devices are compatible.
I would like to try Linux on my Mi8, it's powerful enough and that would let me use many advanced programs for science not available for Android.
Just use Linux Deploy(u need root rights). You can choose you district and install it. To access you would setup ssh in the settings. Then download a ssh client and connected to local host. All done
Nailyouh said:
Just use Linux Deploy(u need root rights). You can choose you district and install it. To access you would setup ssh in the settings. Then download a ssh client and connected to local host. All done
Click to expand...
Click to collapse
But I don't want to run linux virtualized on top of Android, I want to replace it completly.
There is also Ubuntu Touch.
Which one works better?
Well as Linux shares the kernel with android you have no performance lost when using Linux Deploy. Replacing the OS will not be possible.
(You can also try the integrated Framebuffer display...then you would have a linux desktop. Hook up a keyboard and a mouse and youre good to go)
Nailyouh said:
Well as Linux shares the kernel with android you have no performance lost when using Linux Deploy. Replacing the OS will not be possible.
(You can also try the integrated Framebuffer display...then you would have a linux desktop. Hook up a keyboard and a mouse and youre good to go)
Click to expand...
Click to collapse
In fact it doesn't replace the whole kernel, just a small part of it. And most things on Android are run on a Java Virtual Machine.
skanskan said:
In fact it doesn't replace the whole kernel, just a small part of it. And most things on Android are run on a Java Virtual Machine.
Click to expand...
Click to collapse
Do you have an example? Like a device where it is running like you described?