ZeroNet Blogs

Static ZeroNet blogs mirror

molk blog

Welcome, here I will post some cool interesting news

Fedora 26 Is Released

- Posted in molk blog by with comments

Brief: Popular Linux distribution Fedora has a new release. Latest version Fedora 26 brings out GNOME 3.24.2 for the visual changes and packs several other changes under the hood. Fedora 26 also introduces a new Fedora spin based on Lxqt.

Fedora 26 is here! And for a change, it’s been released on the promised date. I don’t remember the last time when a Fedora version was released on schedule so this is definitely a welcome change.

If you don’t know already, Fedora is one of the most popular and widely used Linux distribution. It is a community driven project by Red Hat, the billion dollar Open Source company. Fedora comes in three versions namely Workstation (for desktop), Server and Atomic (for containers).

Fedora Workstation uses GNOME as the default desktop environment but provides other spins based on KDE, Xfce, Cinnamon, MATE etc.

Let’s look at the new features Fedora 26 brings for us.

Fedora 26 features

Here are the important new changes in Fedora 26:

  • Default desktop environment GNOME 3.24.2 brings nightlight feature to Fedora. Weather information is in the notification area.
  • Linux Kernel 4.11.8
  • GCC 7 (though not all packages have been compiled with GCC 7)
  • Other major package updates: DNF 2.5, Python 3.6, Golang 1.8, Ruby 2.4, Boost 1.63, OpenSSL 1.1.0
  • New Fedora spin based on Lxqt
  • Python Classroom: A special Fedora spin for teachers and instructors to use Fedora in their classrooms or workshops for teaching Python
  • Chinese input improvement
  • Improved systemd integration
  • SSSD fast caching is now enabled by default
  • many under-the-hood improvements, like better caching of user and group info and better handling of debug information

The complete changelog of Fedora 26 can be found here.

Upgrading to Fedora 26 from Fedora 25

If you are already using Fedora 25, you should be getting a notification about the availability of Fedora 26.

Otherwise, you can manually upgrade to Fedora 26. Read the instructions here on how to manually upgrade to Fedora 26.

Brief: Listening to music in Linux terminal? Why not? Nothing is impossible when it comes to Linux terminal.

There is no shortage of music players on Linux. Almost all of them comes with a GUI or Graphical User Interface. Some of them looks really nice and some not so much. Just a while back we published an article about lesser known music players. If you are interested you can take a look at that: all of them are graphical. What about, us, terminal lovers? Do we not deserve a treat?

Well, today I am going to introduce cmus. If you are a music enthusiast and love the terminal too, you will have to look no further!

The official site for cmus describes it perfectly:

cmus is a small, fast and powerful console music player for Unix-like operating systems.

It is written in C programming language. So the performance is outstanding and it’s not resource-hungry at all. It is also extensible via external scripts. Check out the cmus Wiki on GitHub for more information.

Let’s take a look at the features.

cmus Features

Every essential feature a music player needs is present in cmus. Some of the basic ones are:

  • Supported Formats: Almost every audio formats are supported on cmus, including the most popular ones – mp3, flac, wav, aac etc.
  • Music Library: cmus is capable of presenting your music collection in a well-organized library. And it is totally intuitive and easy to navigate through. You can search and filter through the tracks seamlessly. It supports Playlists and Play Queue. There is also an integrated file browser if you want to play tracks from outside your library.
  • Gapless Playback: Keep on listening without any break. It can cycle through the whole music library.
  • Keybindings: cmus comes with sensible keyboard shortcuts for performing various actions. And the great thing is — all of those are completely customizable.
  • Themes & Customizability: You can select from pre-defined themes that come with cmus. Or you can create your own! Every little details are customizable in cmus.
  • Speed: Even you have thousands of tracks in your library, it doesn’t affect the startup-time of cmus.

In short, if you love to use the terminal, there’s no way that you will be disappointed by cmus. That’s how cool cmus is.

Installation on Ubuntu

cmus is available via the official Ubuntu repository. So, installing is as easy as typing a single command:

sudo apt install cmus

That’s all! However, if you want to compile it from source you can take a look at the README file.

Getting started with cmus

Being a console application, it takes a little while to get used to cmus. But once you do, it’s totally worth it. The first thing you will want to do after installation is run this command:

man cmus-tutorial

This will show you a basic tutorial for using cmus. For further details, try:

man cmus

Brief: This article explains the difference between apt and apt-get commands of Linux. It also lists some of the most commonly used apt commands that replace the older apt-get commands.

One of the noticeable new features of Ubuntu 16.04 was the ‘introduction’ of apt command. The reality is that the first stable version of apt was released in the year 2014 but people started noticing it in 2016 with the release of Ubuntu 16.04.

It became common to see apt install package instead of the usual apt-get install package. Eventually, many other distributions followed Ubuntu’s footsteps and started to encourage users to use apt instead of apt-get.

You might be wondering what’s the difference between apt-get and apt? And if they have a similar command structure, what was the need for the new apt command? You might also be thinking if apt is better than apt-get? Should you be using the new apt command or stick with the good old apt-get commands?

I’ll explain all these questions in this article and I hope that by the end of this article, you’ll have a clearer picture.

apt vs apt-get

Before we see the difference between apt and apt-get, let’s go into the backdrop of these commands and what exactly they try to achieve.

Why apt was introduced in the first place?

Debian, mother Linux of distributions like Ubuntu, Linux Mint, elementary OS etc, has a robust packaging system and every component and application is built into a package that is installed on your system. Debian uses a set of tools called Advanced Packaging Tool (APT) to manage this packaging system. Don’t confuse it with the command apt, it’s not the same.

There are various tools that interact with APT and allow you to install, remove and manage packages in Debian based Linux distributions. apt-get is one such command-line tool which is widely popular. Another popular tool is Aptitude with both GUI and command-line options.

If you have read my guide on apt-get commands, you might have come across a number of similar commands such as apt-cache. And this is where the problem arises.

You see, these commands are way too low level and they have so many functionalities which are perhaps never used by an average Linux user. On the other hand, the most commonly used package management commands are scattered across apt-get and apt-cache.

The apt commands have been introduced to solve this problem. apt consists some of the most widely used features from apt-get and apt-cache leaving aside obscure and seldom used features. It can also manage apt.conf file.

With apt, you don’t have to fiddle your way from apt-get commands to apt-cache. apt is more structured and provides you with necessary options needed to manage packages.

Bottom line: apt=most common used command options from apt-get and apt-cache.

Difference between apt and apt-get

So with apt, you get all the necessary tools in one place. You won’t be lost under tons of command options. The main aim of apt is to provide an efficient way of handling package in a way “pleasant for end users”.

When Debian says “pleasant for end users”, it actually means that. It has fewer but sufficient command options but in a more organized way. On top of that, it enables a few options by default that is actually helpful for the end users.

For example, you get to see the progress bar while installing or removing a program in apt.

apt also prompts you with the number of packages that can be upgraded when you update the repository database.apt shows the number of packages that can be upgraded

You can achieve the same with apt-get as well if you use additional command options. apt enables them by default and takes the pain away.

Hello world

- Posted in molk blog by with comments

Well, zeronet is cool