Showing posts with label ide. Show all posts
Showing posts with label ide. Show all posts
Thursday, October 29, 2015
Ubuntu Developer Tools Center 0.1 Released With Eclipse And Android ADT Support
Update: Ubuntu Developer Tools Center has been renamed to Ubuntu Make.
Changes in Ubuntu Developer Tools Center 0.1:
For Android ADT support (through Eclipse), use the following command:
If you want to help with the Ubuntu Developer Tools Center development, report bugs, etc., check out its GitHub page.
Read more »
Ubuntu Developer Tools Center (UDTC) 0.1 was released today and it includes support for Eclipse as a standalone IDE, Android ADT support (through Eclipse) and more.
A couple of months ago, Canonical released Ubuntu Developer Tools Center (UDTC), a project to "enable quick and easy setup of common developers needs on Ubuntu". Using it, you can easily install Android Studio and the Android SDK in Ubuntu and, with the latest version, Eclipse and Android ADT (for Eclipse).
In the release announcement, Didier Roche, Software Engineer at Canonical, mentioned that for now, Canonical is focusing on Android developers, but more will follow, like Go developers, web developers, Dart and more.
Changes in Ubuntu Developer Tools Center 0.1:
- added Eclipse support as a standalone IDE. Usage: udtc ide eclipse;
- added Android ADT support (through Eclipse). Usage: udtc android eclipse-adt;
- adb and other Android tools are now added to user path while installing an Android framework;
- UDTC now supports framework removal. If you installed a framework and want to remove it, just use: udtc android android-studio --remove;
- enabled loading of local framework. They are controlled by UDTC_FRAMEWORKS env variable which can point to any path containing local frameworks;
- added support for reinstallation in different folder than the origin one, cleaning the original directory;
- DownloadCenter now support redirections;
- added support for decompressing zip files in Decompressor;
- new and refresh translations: de, en_AU, en_CA, en_GB, es, eu, fr, hr, it, pl, ru, te, zh_CN, zh_HK;
- improved i18n support;
- protect against mistyping with multiple frameworks;
- framework support refactoring to avoid code duplication;
- tests fixes and refactoring for better scalability;
- fixed logging support during test runs;
- reshape docker files to have fewer layers;
- don't raise any Exception for unexpected CLI args.
Install Ubuntu Developer Tools Center
The latest Ubuntu Developer Tools Center 0.1 is available in the Ubuntu 15.04 Vivid Vervet repositories.
For Ubuntu 14.10 and 14.04, you can install the latest Ubuntu Developer Tools Center by using a PPA:
sudo add-apt-repository ppa:didrocks/ubuntu-developer-tools-center
sudo apt-get update
sudo apt-get install ubuntu-developer-tools-center
That's it. You can now use UDTC to install Android Studio, Eclipse and add Android adt support (through eclipse).
Install Android Studio by using the following command:
udtc android
Then, choose the installation path (or use the default path), accept the license ("a") and UDTC will do the rest, installing Android Studio and Android SDK. UDTC will even add Android Studio to the Unity Launcher.
Update: the latest Android Studio doesn't ship the sdk with it anymore so for now you'll have to download it manually. Hopefully future UDTC versions will have a solution for this.
Update: the latest Android Studio doesn't ship the sdk with it anymore so for now you'll have to download it manually. Hopefully future UDTC versions will have a solution for this.
To install Eclipse (Eclipse Luna 4.4 at the time I'm writing this article), simply use the command below:
udtc ide eclipse
After installing it (just like with Android Studio), UDTC will add Eclipse to the Unity Launcher.
For Android ADT support (through Eclipse), use the following command:
udtc android eclipse-adt
If you want to remove a framework, simply append "--remove" to the commands above. For example, to remove Eclipse, use the following command:
udtc ide eclipse --remove
If you want to help with the Ubuntu Developer Tools Center development, report bugs, etc., check out its GitHub page.
via DidRocks' blog
Monday, October 19, 2015
PPA Updates: Tor Browser Bundle 3.5, Sublime Text 3 Beta Build 3059
Quick update for Ubuntu / Linux Mint users: our PPAs were updated today with the latest Tor Browser Bundle 3.5 and Sublime Text 3 beta build 3059.
Tor Browser Bundle 3.5
For those not familiar with Tor Browser Bundle, this is a web browser based on Firefox ESR (Firefox with extended support), configured to protect users' privacy and anonymity by using Tor which comes bundled with it. The bundle also includes some Firefox extensions, like: TorButton, TorLauncher, NoScript and HTTPS-Everywhere.
For more information, see our initial article: Tor Browser Bundle Ubuntu PPA.
Tor Browser Bundle 3.5 is a major release and comes with the latest Firefox 24.2 ESR (the previous stable Tor Browser Bundle version was using Firefox 17 ESR), updated extensions and Tor as well as other changes and bug fixes.
With this release, a configuration window is displayed the first time your run Tor Browser Bundle, which allows you to select how to connect to the Tor network:
Also, in the previous releases, launching Tor Browser would also launch Vidalia, resulting in an extra window that you'd had to close to quit Tor Browser Bundle. That's no longer the case with the latest Tor Browser Bundle 3.5 because Vidalia has been replaced with a new Tor Launcher Firefox Addon.
Changes in Tor Browser Bundle 3.5 (compared to the previous stable release):
With this release, a configuration window is displayed the first time your run Tor Browser Bundle, which allows you to select how to connect to the Tor network:
Also, in the previous releases, launching Tor Browser would also launch Vidalia, resulting in an extra window that you'd had to close to quit Tor Browser Bundle. That's no longer the case with the latest Tor Browser Bundle 3.5 because Vidalia has been replaced with a new Tor Launcher Firefox Addon.
Changes in Tor Browser Bundle 3.5 (compared to the previous stable release):
- Update Firefox to 24.2.0esr;
- Update Tor to 0.2.4.19;
- Update Torbutton to 1.6.5.2;
- Update NoScript to 2.6.8.7;
- Update HTTPS-Everywhere to 3.4.4tbb (special TBB tag) - Tag includes a patch to handle enabling/disabling Mixed Content Blocking;
- Remove Vidalia; Use the new TorLauncher Firefox Addon instead;
- Disable health report service;
- Disable prompting about health report and Mozilla Sync;
- Disable HTTPS-Everywhere first-run tooltips;
- Disable Mixed Content Blocker pending backport of Mozilla Bug 878890;
- Support running Tor Launcher from InstantBird;
- Support browser directory location API changes in Firefox 24;
- Clear FF24 Private Browsing Mode data during New Identity;
- Update cache isolation for FF24 API changes;
- Properly clear crypto tokens during New Identity on FF24;
- Support changes to Private Browsing Mode and plugin APIs in FF24;
- Linux: use LD_LIBRARY_PATH (fixes launch issues on old Linux distros);
- Linux: fix architecture check to work from outside TBB's directory;
- Linux: remove libz and firefox-bin, and strip unstripped binaries;
- Linux: disable Firefox updater during compile time;
- Support multiple Tor socks ports for about:tor status check;
- Fix: Tor Launcher hang on TBB exit;
- Fix: Adblock Plus interferes w/Tor Launcher dialog;
- Fix: make flash objects really be click-to-play if flash is enabled;
- Fix: remove polipo and privoxy from the banned ports list;
- Fix a potential memory leak in the Image Cache isolation;
- Fix a potential crash if OS theme information is ever absent.
- More.
The complete changelog for Tor Browse Bundle can be found HERE.
To install Tor Browser Bundle in Ubuntu / Linux Mint, use the following commands:
sudo add-apt-repository ppa:failsdownloadsteam/tor-browser
sudo apt-get update
sudo apt-get install tor-browser
Important reminder: any TorBrowser changes you make (bookmarks, addons you install, etc.) are deleted on upgrade due to the way TorBrowser works, but this will change with a future update. Also, because there are separate packages on Tor Browser Bundle's website for the supported languages, the package in our PPA can only support one language (English).
Sublime Text 3 beta build 3059
Sublime Text is a popular text editor somewhat similar to TextMate, available for Linux, Windows and Mac OS X.
After almost 6 months, there's finally a new Sublime Text 3 beta build available: 3059. The latest beta build can be evaluated for an unlimited period of time and it includes the following changes:
After almost 6 months, there's finally a new Sublime Text 3 beta build available: 3059. The latest beta build can be evaluated for an unlimited period of time and it includes the following changes:
- Added tab scrolling, controlled by the enable_tab_scrolling setting;
- Added image preview when opening images;
- Encoding and line endings can be displayed in the status bar with the show_encoding and show_line_endings settings;
- Added settings caret_extra_top, caret_extra_bottom and caret_extra_width to control the caret size;
- Added index_exclude_patterns setting to control which files get indexed;
- Automatically closing windows when the last tab is dragged out;
- Changed tab close behavior: the neighboring tab is now always selected;
- When the last file is closed, a new transient file is created automatically;
- Ctrl+Tab ordering is stored in the session;
- Added minimap_scroll_to_clicked_text setting;
- Improved error messages when unable to save files;
- Auto complete now works as expected in macros;
- Minor improvements to Python syntax highlighting;
- Vintage: A block caret is now used;
- Vintage: Improved behavior of visual line mode with word wrapped lines;
- Find in Files will no longer block when FIFOs are encountered;
- Linux: Added menu hiding;
- Linux: Fixed incorrect handling of double clicks in the Find panel;
- Linux: Fixed incorrect underscore display in some menus;
- API: Window.open_file now accepts an optional group parameter;
- API: Plugins may now call Settings.clear_on_change() within a callback from Settings.add_on_change();
- API: Calling Settings.add_on_change() from within a settings change callback won't cause the added callback to be run;
Ubuntu / Linux Mint users who want automated updates for the latest Sublime Text 3 beta builds can install the application by using the failsdownloads Sublime Text 3 PPA:
sudo add-apt-repository ppa:failsdownloadsteam/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
For more information, see our initial article: Sublime Text 3 Ubuntu PPA. If you want to use Sublime Text 2 instead of 3 (which uses Python 2), there's a PPA for it too.
Remember, you can see the latest failsdownloads PPA updates @ http://ppa.failsdownloads.blogspot.com/
Labels:
browser,
ide,
internet,
privacy,
sublime text,
text editor,
tor,
Ubuntu
Wednesday, October 14, 2015
Atom Text Editor Ubuntu PPA Update
Today I've updated the Atom Ubuntu PPA with the latest Atom code from GitHub and, while the application still doesn't work on 32bit, there is some good news: Atom uses dynamic libraries now, so you might be able to use my builds in Linux distributions other than Ubuntu (Fedora, Debian etc.). The new version also comes with quite a few Linux bug fixes.
Changes in Atom since the previous PPA builds:
- apm now has a docs command that opens a package's homepage in the browser that is also aliased to apm home and apm open;
- comment blocks at the top of files no longer affect the soft/hard tab settings;
- filenames containing only numbers can now be opened;
- copy/paste with multiple selections is more intuitive;
- packages can be updated from dev builds;
- Linux: fixed libudev issues;
- Linux: A lot of keybindings work, though Mac-specific keybindings still show up in the preferences;
- Linux: Fixed menu bar disappears on old window after opening a new window;
- Linux: Ship system dynamic libraries.
I've also fixed some bugs in the Atom packaging:
- fixed app menu section;
- fixed app folder permissions;
- added work-around for Atom using a very large icon in some cases (like KDE's alt-tab with desktop effects disabled - thanks Chris for the help!).
Install Atom text editor in Ubuntu
To install Atom in Ubuntu 14.04, 13.10, or 12.04 (64bit only!) and derivatives (Linux Mint, elementary OS, etc.), use the following commands:
sudo add-apt-repository ppa:failsdownloadsteam/atom
sudo apt-get update
sudo apt-get install atom
If you encounter Node.js related bugs, I recommend using THIS Nodejs PPA.
Non-Ubuntu users: if Atom isn't available for your Linux distribution and you don't know how / don't want to built it from source, you can try (so it may or may not work for you) to use my Atom built - download it from HERE, extract it and double click the "atom" executable.
Report any bugs related to packaging, in the comments and Atom-related bugs @ GitHub.
Tuesday, October 6, 2015
Get Unity Global Menu / HUD Support For Java Swing Applications With JAyatana
Java Swing Ayatana is a project that brings Ubuntu global menu (AppMenu) and HUD support for Java Swing applications.
JAyatana version 2 was released recently, getting support for Ubuntu 13.10 along with a PPA for easy installation. Update: the PPA now supports Ubuntu 14.04 and 14.10.
Using this, you'll get Unity AppMenu and HUD support for applications such as: NetBeans IDE, IntelliJ IDEA, Android Studio, jDownloader and so on.
Here's an IntelliJ IDEA screenshot using a global menu under Unity (Ubuntu 14.04):
And Netbeans IDE:
And of course, HUD works too:
Note that this won't work for Eclipse because it's a SWT application (update: in Ubuntu 14.04, Eclipse has HUD / AppMenu support by default). If you want Unity AppMenu / HUD support for Eclipse IDE, see the instructions HERE for Ubuntu 13.04 and older or, for Ubuntu 14.04, use the new unity-gtk-module dconf option to whitelist Eclipse. Unfortunately the old method to enable the Eclipse AppMenu doesn't work properly in Ubuntu 13.10.
Get global menu / HUD support for Java Swing applications using Java Ayatana
Java Swing Ayatana is available in a PPA for Ubuntu 14.04 and 14.10. Add the PPA and install it using the following commands:
sudo add-apt-repository ppa:danjaredg/jayatana
sudo apt-get update
sudo apt-get install jayatana
Once installed, log out and log back in.
If you want to checkout the source, report bugs and so on, see the Java Swing Ayatana page @ Google Code.
How to rever the changes
1. Because files in /etc/ are only removed when the package that installs them is purged, to revert the changes you'll have to purge the packages installed from the PPA using the following command:
sudo apt-get --purge remove jayatana libjayatana libjayatanaag libjayatana-java libjayatanaag-java
2. And finally, log out and log back in.
seen @ +Bademus l.
Labels:
appmenu,
global menu,
ide,
Java,
tips n tricks,
Ubuntu,
unity
Install Brackets In Ubuntu Via PPA (Open Source Code Editor For HTML, CSS And JavaScript)
Brackets is an open-source code editor for web design and development built on top of web technologies such as HTML, CSS and JavaScript, available for Linux, Windows and Mac OS X.
The application was originally created by Adobe, but is now maintained by the community.
The application was originally created by Adobe, but is now maintained by the community.
Brackets comes with some very interesting features, like a quick edit mode (Ctrl +e) that brings the relevant CSS for the selected tag in the main editor or live browser previews - the changes are pushed instantly to the browser (Chrome only), without having to save the changes or reload the page (see video below).
Furthermore, Brackets supports extensions for adding extra functionality - more than 100 extensions (at the time I'm writing this article) can easily be installed through the built-in Extension Manager:
Brackets for Linux was released back in August and while the Linux builds are practically at feature parity with the the Mac and Windows builds, there are some known issues. For instance, Brackets doesn't currently use native OS menus so under Unity, the menu isn't displayed on the top panel. There's also an issue that occurs when closing the application: you must click the close button twice to get the application to quit. More info about the Linux version, HERE.
Below you'll find an introduction video for Brackets (the video is old, but it should be enough to get an idea on what Brackets can do and why it's different from other code editors):
(direct video link)
Even though there are deb packages available for download on its website, users must manually download and install each update, and Brackets is updated quite often, usually every 2½ weeks. For this reason, I've created a Brackets Ubuntu PPA which makes it easily to stay up to date with the latest Brackets Linux builds in Ubuntu and derivatives.
Install Brackets in Ubuntu via PPA
To add the Brackets PPA and install the application in Ubuntu (and derivatives), use the following commands:
sudo add-apt-repository ppa:failsdownloadsteam/brackets
sudo apt-get update
sudo apt-get install brackets
Install Atom Text Editor In Ubuntu Via PPA [32bit + 64bit]
Atom is an open source "hackable text editor for the 21st Century" developed by GitHub, which is currently in beta.
Until now, to use Atom in Ubuntu you'd have to compile it but I like to make things easier for you so I've built it on my computer (Nodejs apps can't be built directly in Launchpad PPAs because they need to install external dependencies and Launchpad doesn't allow that) and uploaded it to a PPA, for Ubuntu and derivatives: Linux Mint, elementary OS, etc.
Update: initially, Atom could only be built on 64bit (on Linux), but it's now available for both 32bit and 64bit!
Update 2: The Atom devs are now providing Atom 64bit DEB packagees @ GitHub.
Update 3: There are now official Atom 64bit RPM packages available for download.
Update 2: The Atom devs are now providing Atom 64bit DEB packagees @ GitHub.
Update 3: There are now official Atom 64bit RPM packages available for download.
Atom - a "hackable text editor for the 21st Century"
Atom is text / source code editor based on web technologies and you can tweak its interface with CSS or easily add new features with HTML and Javascript, at least according to its website. The text editor features Node.js integration, allowing you to seamlessly mix usage of Node and browser APIs. And of course, since it's developed by GitHub, it features built-in Git integration.
Other Atom features include:
- file system browser;
- fuzzy finder for quickly opening files;
- fast project-wide search and replace;
- multiple cursors and selections;
- multiple panes;
- snippets;
- code folding;
- a clean preferences UI;
- supports importing TextMate grammars and themes.
As you've probably already noticed, Atom looks a lot like Sublime Text (2/3), a popular, cross-platform text editor that's sadly not open source. In fact, Atom includes many of the features available in Sublime Text - according to THIS, "a lot of the architecture and features have been duplicated from Sublime Text because they're tried and tested. The plugin system works almost the same, but opens up a lot of new features and potential by exposing new APIs too".
Furthermore, both Sublime Text and Atom use a command palette that can be triggered using Ctrl + Shift + P:
Also, both have a package manager, but in Atom, you can browse the packages in a nice UI, learn more about each package, etc.:
For more information, see the official Atom website and its documentation.
Install Atom in Ubuntu (32bit + 64bit) via PPA
Before installing Atom, remember that it's still in beta so you may find bugs or missing / incomplete features!
To install Atom in Ubuntu and derivatives (Linux Mint, elementary OS, etc.), use the following commands:
sudo add-apt-repository ppa:failsdownloadsteam/atom
sudo apt-get update
sudo apt-get install atom
Report any bugs related to packaging, in the comments!
Arch Linux users can install Atom via AUR: latest release | git
To report Atom (non-packaging) bugs, grab the source code, etc., see its GitHub page.
Install Android Studio In Ubuntu Via PPA
Update September 2, 2014: Canonical released Ubuntu Developer Tools Center which can be used to easily install Android Studio and Android SDK in Ubuntu. That's the official, supported method of installing Android Studio in Ubuntu now!
Google provides Android Studio for Linux as a simple archive which you must download, extract, create your own launcher and so on.
To makes things easier, +Paolo Rotolo has created an Android Studio PPA for Ubuntu and derivatives (Linux Mint, elementary OS and so on).
The PPA is just for installing Android Studio, not for updating it, because Android Studio has its own update "manager". To update Android Studio to the latest version, simply click "Check for updates now" in the welcome screen, then click "Update and Restart":
It's important to note that the package tries to install one of the following JDKs: default-jdk, oracle-java7-installer or oracle-java8-installer. I saw in some comments that Android Studio users receive the following error: "OpenJDK 6 is not supported. Please use Oracle Java or newer OpenJDK", even after installing OpenJDK7. That's why I recommend using Android Studio with Oracle Java 7 or Oracle Java 8 from our PPA (see links at the bottom of the article).
And one more thing: Android Studio uses a low resolution icon and that can't be fixed (it would be overwritten when the app is updated through its own update mechanism anyway).
Install Android Studio in Ubuntu via PPA
To add the PPA and install Android Studio in Ubuntu (and derivatives like Linux Mint, etc.), use the following commands:
sudo add-apt-repository ppa:paolorotolo/android-studio
sudo apt-get update
sudo apt-get install android-studio
For how to install Oracle JDK 7 or 8, see:
- Install Oracle Java 7 in Ubuntu via PPA Repository
- Install Oracle Java 8 In Ubuntu Via PPA Repository
seen @ lffl.org
Easily Install The Latest golang Compiler, LiteIDE and Various Go-Related Tweaks In Ubuntu With A Script
Go (or golang) is a programming language initially developed by Google. It is a statically-typed language with syntax loosely derived from that of C, adding garbage collection, type safety, some dynamic-typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library. More information @ Wikipedia.
Until Canonical's Ubuntu Developer Tools Center gets support for golang, you can use a script created by failsdownloads reader +George, which can be used to set up everything Go-related in Ubuntu. The script downloads and installs the latest version of Go compiler and IDE (LiteIDE) in Ubuntu and it also automatically sets up most of the tings you'll need:
- creates a simple layout for the IDE;
- sets the GOPATH;
- lot of gophers use Monaco font so the script will install it for usage with LiteIDE;
- adds the golang IDE (LiteIDE) shortcut to the Unity Launcher with a few of useful quicklists;
- under other desktop environments, it adds the LiteIDE shortcut on the desktop (and of course, it can also be accessed from the menu);
- adds Git support in the IDE on ctrl+` (you need to setup Git before using this though);
- extended project templates.
![]() |
LiteIDE under Ubuntu 14.04 (Unity) |
George says he initially created this script to help a kid who wanted to start learning Go to set up everything that was needed. However, the script got a few extra features since then and it can also be used by advanced users who should appreciate the easy and fast golang environment setup.
Download and setup
Download the golang compiler and LiteIDE installer / setup script from HERE
Once downloaded, extract the archive and simply double click on the "Install.sh" file and click "Run" (or run it via command line). Of course, feel free to checkout the script before running it to make sure it doesn't do anything you don't want/need.
Note that in recent Ubuntu versions, Nautilus doesn't ask to run a script when double-clicked and instead, it opens it with a text editor by default. To change this behavior and set Nautilus to ask if it should run a script when double-clicked, use the following command:
gsettings set org.gnome.nautilus.preferences executable-text-activation ask
For Nemo, use:gsettings set org.nemo.preferences executable-text-activation ask
Note: to update the golang compiler, LiteIDE, etc., simply run the script again.
Thanks to George for the tip!
Labels:
golang,
ide,
linux,
programming,
tips n tricks,
Ubuntu
Subscribe to:
Posts (Atom)