How To Install librepfunc1 on Debian 12

Learn how to install librepfunc1 on Debian 12 with this tutorial. librepfunc1 is set of C++ classes and utilities for building multimedia tools

Introduction

In this tutorial we learn how to install librepfunc1 on Debian 12.

What is librepfunc1

librepfunc1 is:

This is a collection of utilities and functions used for example in w-scan-cpp

string related:

  • LowerCase and UpperCase
  • LeftTrim and RightTrim and Trim
  • FrontFill and BackFill
  • ReplaceAll

vector of string related:

  • SplitStr

number conversion to string or vice versa

  • IntToStr
  • FloatToStr
  • ExpToStr
  • StrToInt
  • StrToFloat

print time

  • TimeStr

other conversions

  • BCDtoDecimal

sleep threads

  • Sleep, mSleep, uSleep

print hex data

  • HexDump

files and directories

  • FileExists
  • cFileList
  • ReadFileToStream
  • ReadFile
  • WriteStreamToFile
  • WriteFile

start/stop threads from main thread

  • ThreadBase

There are three methods to install librepfunc1 on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install librepfunc1 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install librepfunc1 using apt-get by running the following command:

sudo apt-get -y install librepfunc1

Install librepfunc1 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install librepfunc1 using apt by running the following command:

sudo apt -y install librepfunc1

Install librepfunc1 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install librepfunc1 using aptitude by running the following command:

sudo aptitude -y install librepfunc1

How To Uninstall librepfunc1 on Debian 12

To uninstall only the librepfunc1 package we can use the following command:

sudo apt-get remove librepfunc1

Uninstall librepfunc1 And Its Dependencies

To uninstall librepfunc1 and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove librepfunc1

Remove librepfunc1 Configurations and Data

To remove librepfunc1 configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge librepfunc1

Remove librepfunc1 configuration, data, and all of its dependencies

We can use the following command to remove librepfunc1 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge librepfunc1

Dependencies

librepfunc1 have the following dependencies:

References

Summary

In this tutorial we learn how to install librepfunc1 package on Debian 12 using different package management tools: apt, apt-get and aptitude.