Ubuntu MATE for the Raspberry Pi Model B 2, 3 and 3+ — Ubuntu MATE 18.04.2 is available for Raspberry Pi Model B 2, 3 and 3+ with separate images for armhf (ARMv7 32-bit) and arm64 (ARMv8 64-bit). ← Previous episode Next episode →. I just got a pi 3 b+ and was told can’t put Ubuntu MATE on and and also can’t do to boot from USB need help with that plz. Yes you can install Mate 16.04 on the 3B+ and you can usb boot it as well. Here is how I did it.
I installed Ubuntu Mate 16.04 LTS on Raspberry Pi 3 Model B and overclocked it to 1.4 GHz. The Micro SD card used is a Samsung 32GB PRO Class 10.
However the Raspberry Pi still feels sluggish with simple usage like scrolling down a webpage in Firefox.
Is this normal? Will Raspbian be more responsive? Are there more overclocking and tweaks that can be done to make the system more snappy?
NyxynyxNyxynyx
1561 gold badge4 silver badges10 bronze badges
5 Answers
First I would like to state that I use Raspbian Jessie on my Pi 3.
My experience with Jessie was that it was a little sluggish initially. I did get latency in all tasks to improve after I did the following.
- Bumped up the Video memory to 256MB
- Remove/purged the built-in swapfile that comes with Raspbian Jessie. It was bloody slow as it was running on the uSD card where the OS is at.sudo apt-get purge dphys-swapfile dphys-config
- Bought the fastest 16GB USB flash stick I could find.
- Setup a 3GB Swap partition (doesn't need to be 3GB but I thought what the hell why not).
- Installed F2FS and formatted the remaining space to F2FS for use. F2FS is the only file system to date that is designed for Flash.
- Set swappiness to 60
- Installed all new applications, scripts, program workspace, etc on the F2FS partition.
- Last note, not really a step but more of a tip, don't use Firefox or Iceweasel as it is slow on the Pi, use the built-in bare-bones browser that comes with Raspbian Jessie as it is much more responsive and less latent.
Things that I could improve but would take time and mean perhaps blowing away everything so I haven't done yet; well install Rasbian on F2FS.
On another note, overclocking will heat up your ARM chip a lot faster which will then kick-off the protection algorithm when under sustained load to lower the clock speed so it doesn't burn out. If you want to stay overclocked then you will need active cooling on the ARM chip. Check Amazon as they sell those tiny fans for the Raspberry.
Currently as I said I am running Raspbian Jessie and have Kodi on top of it running 24/7. I also have a microserver (Python3 Flask) running 24/7 that accesses/runs certain commands that I have programmed so I can remotely get it to do things when away from home (a.k.a. IoT or Internet of Things). For example I have a Temper USB thermometer plugged in on a usb extension cord which the webserver can access to return back the room temperature. This is all running while Kodi is on even when people are actively watching movies or streaming from the net. I also have an NFS Client on it keeping tabs of my library of media on a File server I have, all while having multiple ssh sessions and tightvnc server running on it.
So in essence, the tiny $35 Raspberry packs a hell of a punch! Compare that to an Intel NUC which orders of magnitude more expensive.
DanglingPointerDanglingPointer
I tried Ubuntu 16 once, nothing worked well at all.Slow as you state, the packages that installed were not up to our project standards we have (example mysql was impossible to remote into).
Various bugs elsewhere too. Symlinks failed to work correctly.Set a link and it was like running down a tunnel that wrapped back on itself. So far Raspbian runs very smooth and impressed with it's performance as a dev and server platform.
I doubt Ubuntu 16 has the needed kernel compiles for the rpi.So it is bound to run horrible regardless unless you compile it yourself and find everything you need.
That said, in short, you are not alone and that performance is normally experienced by many.
However, I would seriously avoid clocking it up to boost performance on an OS that is not very compatible with it. You will be looking to replace it sooner than later.
Dan VDan V
As with DanglingPointer, my experience is with Raspbian rather then Ubuntu but I will say that using a Western Digital PI Drive hard disk for root and swap transformed my system noticeably. I manually formatted it with a proper swap partition and transferred my root partition from the SD Card onto the remaining space.
I use my PI as a Wordpress development server and prior to the upgrade it would get slow and unresponsive with complex operations. Now it never misses a beat.
AndyKAndyK
This is normal behaviour for a Raspberry Pi. Everybody wants to think of them as desktop replacements, but they are not. They pack a good deal of processing power into a small form factor for a very low price and low power usage, but a GUI will make the sluggish, Raspbian too.
tlhIngantlhIngan
3,0275 gold badges15 silver badges32 bronze badges
Raspeberry Pi is a great small factor PC and DiY board, but is not perfect to use with a Desktop. I use my Raspberry Pi 3 to small things and electronics. For a example you can use for create a NAS using just command line part of OS. Install Raspbian and remove all packages related with Desktop See How-To here next you can add your disks to use like an professional NAS.
You can use like a server too, if you have two rasps you can add one with Apache and PHP and the other with MySQL dedicated server. Join both and you get a basic server for your websites.
Just is 2 examples.
Community♦
pho3nixpho3nix
Not the answer you're looking for? Browse other questions tagged pi-3ubuntu or ask your own question.
The Raspberry Pi is best characterised by the funky and useful Raspbian operating system. As the name suggests, Raspbian is designed specifically for the Raspberry Pi and is suitable for most applications.
However, if you want to use your Raspberry Pi for desktop computing, you might be disappointed. Raspbian is based on Debian, a Linux operating system designed for stability. Updates take place only once every few years meaning you won’t have the latest version of programs and their features.
Fortunately, there’s a way to bring the popular Ubuntu desktop operating system to your Raspberry Pi. Ubuntu MATE uses an extremely lightweight desktop environment and there’s even a version designed specifically for your Raspberry Pi’s ARM architecture.
In this guide, you’ll learn how to download the latest Raspberry Pi image of Ubuntu MATE, write it to a microSD card and setup the OS on your device. All you’ll need is a microSD card of at least 32GB, microSD card reader and a Raspberry Pi 3.
1. Download the Ubuntu MATE image
Open your web browser and go to the Ubuntu MATE for Raspberry Pi website. Click the button marked ‘Download Ubuntu MATE’. A new page will load asking you to choose your architecture.
Click the fourth option, which says ‘Raspberry Pi’. On the page called ‘which release would you like’, select the most recent version of Ubuntu MATE e.g. 16.04.2 (Xenial).
On the download page choose your download type. You may need to install bit torrent software to do this. The file will be around 1GB.
2. Extract the Ubuntu image
You’ll need a decompression utility like The Unarchiver for macOS or 7-Zip for Windows 10. The Unarchiver is available free from the App Store to extract the .xz file.
Once the utility is installed, simply double-click the file in your downloads to extract the image (.img) file.
For Windows, go to the 7-Zip website to install the application. Click on ‘Download’, choose ‘Save’. Go to ‘Downloads’ in File Explorer. Double click on the ‘7-Zip’ file. Choose ‘Install’.
Once the installation is complete, right-click on the Ubuntu MATE file. Select ‘7-Zip’. Choose ‘Extract Files’ and then click ‘Ok’. The file will now be extracted.
3. Format the SD card (macOS)
In order for your microSD card to be compatible with the Raspberry Pi it must be formatted to FAT32.
Connect the microSD card to your mac. The system will automatically mount it. Click ‘Spotlight’ at the top right of the screen, type ‘Disk Utility’ and press return.
Once Disk Utility launches, select the microSD card from the list of available disks in the pane on the left. Click the ‘Erase’ tab, then select ‘MS-DOS (FAT)’ from the ‘Format’ drop down menu.
You can also set a name for the microSD card here e.g. MY SD 1. Click the ‘Erase’ button when you’re ready.
4. Format the SD card (Windows 10)
Insert your SD card into the slot on your computer or a USB adapter.
Windows will now inform you that you need to format the disk in order to continue. Click ‘Format Disk’. Next, you can choose the format, file system, allocation unit size and volume label. Windows will warn you that formatting will erase all previous data on the SD card. Choose ‘Ok’ to continue. The device will then be formatted.
If you don’t see the above notification, open Windows Explorer. Search for the SD drive. Right-click on this and from the drop-down menu, select format. Windows will automatically default to FAT32.
5. Download and install Etcher
If you’re not a power user, you can write the Ubuntu MATE to a microSD card using the handy utility Etcher. Etcher is available for both Windows 10 and MacOS. Choose the download for your operating system.
Etcher can be run directly from your downloads folder. Mac users can just double-click the DMG file to mount the disk image, then double-click again to launch Etcher. Windows 10 users can launch the utility by simply choosing to ‘Run’ the file from their web browser.
6. Rewrite to microSD
Once Etcher opens, it will ask you to select an image. Navigate to the Ubuntu MATE image and double-click to select.
Etcher will now be ready to flash the file onto the microSD card. The utility automatically detects the card. Select ‘Flash’ to begin the writing process. This will take around 15-20 minutes depending on your computer and microSD card.
7. Write image to microSD using Terminal
If you are a power user, you can use the macOS or Linux command line to write the Ubuntu MATE image to your microSD card. To do this you’ll need to know the specific device address e.g. /dev/rdisk1 of the microSD card.
Mac users can find this by opening the Disk Utility program, selecting the microSD card from the pane on the left and clicking the ‘First Aid’ button.
This performs a routine check on the card. Once this is complete, click ‘Show Details’ to see the report. The device address is listed next to ‘fsck’ e.g. /dev/rdisk2s1.
Linux users can view the device address simply by opening the ‘Disks’ utility and selecting the microSD. The device address is displayed at the bottom of the window.
Next, open Terminal. From here, you can use the dd command to write the Ubuntu image file to the microSD card. First, switch to your ‘Downloads’ folder with the command:
Next, use dd to begin writing e.g:
Make sure you substitute ‘ubuntu.img’ & ‘/dev/rdisk1’ with the filename of the Ubuntu MATE image and the device address for the microSD card respectively.
You can use the shortcut Ctrl + T to check the progress of the write process.
8. Set up Ubuntu MATE
Eject the microSD card safely from your computer then insert it in your Raspberry Pi.
Next, connect the power cable, keyboard, mouse and monitor to the Raspberry Pi. Ubuntu MATE setup will now launch. These setup screens are fairly self-explanatory and will be familiar if you’ve used Ubuntu before.
Choose your language, Wi-Fi network and location. Next, Ubuntu MATE will ask you to set a username and password. Make sure to write these down in a safe place before continuing.
Once setup is complete, the Ubuntu MATE desktop will load. The OS will display a welcome message and offer you’re a tour of Ubuntu’s features. Make sure to go through this if you haven’t used the MATE desktop environment before.
9. Update & upgrade Ubuntu MATE
The version of Ubuntu MATE you have now installed may not be fully up-to-date. To check if this is the case, go to System > Software Updater.
The system will now scan for updates. A box will appear stating ‘Updated software has been issued since Ubuntu x.04 was released. Do you wish to update?’. Click ‘Install Now’ to update your system.
10. Troubleshooting
Some Ubuntu MATE users have reported issues with connecting to Wi-Fi after install, the network manager says the ‘device not ready’. This issue is specific to the Raspberry Pi 3. fortunately restarting the Raspberry Pi almost always fixes this problem.
Other users have reported issues installing and upgrading software using the built-in software updater. If this happens, open the MATE Terminal. Next, run the command:
then:
That should fix the issue and you'll now have Ubuntu MATE running on your Raspberry Pi!
- Check out our collection of Raspberry Pi projects
Image credits: TechRadar