SlideShare a Scribd company logo
Security
Considerations
on Linux Package
Management
Hello!I am Tharindu Edirisinghe
You can find me at ….
tharindue.blogspot.com @thariyarox https://lk.linkedin.com/in/ediri ediri@live.com
Source : http://www.slideshare.net/tshrinivasan/foss-history-1300788
Source : http://www.aboutlinux.info/2006/04/mind-map-of-linux-distributions.html
A Personal Package Archive (PPA) is a special software
repository for uploading source packages to be built and
published as an APT repository by Launchpad. While the
term is used exclusively within Ubuntu, Launchpad host
Canonical envisions adoption beyond the Ubuntu
community.
Source :
http://askubuntu.com/questions/4983/what-are-ppas-and-how-do-i-use-them
https://en.wikipedia.org/wiki/Personal_Package_Archive
sudo apt-get install <package name>
You can add a PPA to your system with a single line in your terminal. Open a terminal and enter:
sudo add-apt-repository ppa:shutter/ppa
Now, as a one-off, you should tell your system to pull down the latest list of software from each
archive it knows about, including the PPA you just added:
sudo apt-get update
Install Shutter
sudo apt-get install shutter
sudo dpkg -i <package file>
The Advanced Package Tool, or APT, is a free software user interface that works with
core libraries to handle the installation and removal of software on the Debian,
Slackware and other Linux distributions. APT simplifies the process of managing
software on Unix-like computer systems by automating the retrieval, configuration and
installation of software packages, either from precompiled files or by compiling source
code.
APT was originally designed as a front-end for dpkg to work with Debian's .deb
packages, but it has since been modified to also work with the RPM Package Manager
system via APT-RPM.The Fink project has ported APT to Mac OS X for some of its own
package management tasks, and APT is also available in OpenSolaris.
Source : https://en.wikipedia.org/wiki/Advanced_Packaging_Tool
dpkg is the software at the base of the package
management system in the free operating system Debian
and its numerous derivatives. dpkg is used to install, remove,
and provide information about .deb packages.
Source : https://en.wikipedia.org/wiki/Dpkg
package_name
├── DEBIAN
│ ├── control (meta data of the package)
│ ├── preinst (execute before installing the package)
│ ├── postinst (execute after installing the package)
│ ├── prerm (execute before un-installing the package)
│ └── postrm (execute after un-installing the package)
│
└── /……. (folders and files following the linux file structure)
Source : https://www.hivelocity.net/kb/what-are-preinst-postinst-prerm-and-postrm-script-2/
demo
mkdir -p helloworld_1.0-1/usr/local/bin
cp ~/Projects/Hello World/helloworld helloworld_1.0-1/usr/local/bin/
mkdir helloworld_1.0-1/DEBIAN
vi helloworld_1.0-1/DEBIAN/control
dpkg-deb --build helloworld_1.0-1
Source : https://ubuntuforums.org/showthread.php?t=910717
Package: helloworld
Version: 1.0-1
Section: base
Priority: optional
Architecture: i386
Depends: libsomethingorrather (>= 1.2.13), xyz (>= 1.2.6)
Maintainer: Tharindu Edirisinghe <ediri@live.com>
Description: Hello World
When you need some sunshine, just run this
small program!
Install a Debian (.deb) package
× sudo dpkg -i <package name>
List installed packages
× dpkg -l <package name with/out wildcards>
Un-Install a Debian (.deb) package binaries
× sudo dpkg --remove <package name>
Un-Install a Debian (.deb) package binaries and configuration files
× sudo dpkg --purge <package name>
Linux Package Management
https://www.linode.com/docs/tools-reference/linux-package-management
Package Management Security
https://isis.poly.edu/~jcappos/papers/cappos_pmsec_tr08-02.pdf
Debian Packaging Tutorial
https://www.debian.org/doc/manuals/packaging-tutorial/packaging-tutorial.en.pdf
THANKS!Any questions?
You can find me at ….
tharindue.blogspot.com @thariyarox https://lk.linkedin.com/in/ediri ediri@live.com

More Related Content

What's hot

Installing application in ubuntu [autosaved]
Installing application in ubuntu [autosaved]Installing application in ubuntu [autosaved]
Installing application in ubuntu [autosaved]
K Senthil Kumar
 
GIT pour développeur
GIT pour développeurGIT pour développeur
GIT pour développeur
Open Source School
 
Redhat enterprise Linux
Redhat enterprise LinuxRedhat enterprise Linux
Redhat enterprise Linux
Open Source School
 
Overview of linux kernel development
Overview of linux kernel developmentOverview of linux kernel development
Overview of linux kernel development
Pushkar Pashupat
 
101 4.1 create partitions and filesystems
101 4.1 create partitions and filesystems101 4.1 create partitions and filesystems
101 4.1 create partitions and filesystems
Acácio Oliveira
 
Oprating sys
Oprating sysOprating sys
Oprating sys
yash patel
 
Windows Storage Server 2008 R2
Windows Storage Server 2008 R2Windows Storage Server 2008 R2
Windows Storage Server 2008 R2diTii
 
Rust + python: lessons learnt from building a toy filesystem
Rust + python: lessons learnt from building a toy filesystemRust + python: lessons learnt from building a toy filesystem
Rust + python: lessons learnt from building a toy filesystem
ChengHui Weng
 
repositor.io - Simple Repository Management
repositor.io - Simple Repository Managementrepositor.io - Simple Repository Management
repositor.io - Simple Repository Management
inovex GmbH
 
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
ChoiYura
 
Linux Tor Browser kurulum
Linux Tor Browser kurulumLinux Tor Browser kurulum
Linux Tor Browser kurulum
reso95
 
Respositórios do Ubuntu, santo apt-get e outras coisas
Respositórios do Ubuntu, santo apt-get e outras coisasRespositórios do Ubuntu, santo apt-get e outras coisas
Respositórios do Ubuntu, santo apt-get e outras coisas
Quefo.me
 
Preventing cpu side channel attacks with kernel tracking
Preventing cpu side channel attacks with kernel trackingPreventing cpu side channel attacks with kernel tracking
Preventing cpu side channel attacks with kernel tracking
Marian Marinov
 
Beyondfs-intro
Beyondfs-introBeyondfs-intro
Beyondfs-intro
Kim Yong-Duk
 
Introduction To Unix
Introduction To UnixIntroduction To Unix
Introduction To UnixCTIN
 
Python-specific packaging
Python-specific packagingPython-specific packaging
Python-specific packaging
dwvisser
 
101 2.4 use debian package management
101 2.4 use debian package management101 2.4 use debian package management
101 2.4 use debian package management
Acácio Oliveira
 
101 2.4b use debian package management v2
101 2.4b use debian package management v2101 2.4b use debian package management v2
101 2.4b use debian package management v2
Acácio Oliveira
 

What's hot (20)

Installing application in ubuntu [autosaved]
Installing application in ubuntu [autosaved]Installing application in ubuntu [autosaved]
Installing application in ubuntu [autosaved]
 
GIT pour développeur
GIT pour développeurGIT pour développeur
GIT pour développeur
 
Redhat enterprise Linux
Redhat enterprise LinuxRedhat enterprise Linux
Redhat enterprise Linux
 
Overview of linux kernel development
Overview of linux kernel developmentOverview of linux kernel development
Overview of linux kernel development
 
101 4.1 create partitions and filesystems
101 4.1 create partitions and filesystems101 4.1 create partitions and filesystems
101 4.1 create partitions and filesystems
 
Oprating sys
Oprating sysOprating sys
Oprating sys
 
Windows Storage Server 2008 R2
Windows Storage Server 2008 R2Windows Storage Server 2008 R2
Windows Storage Server 2008 R2
 
Rust + python: lessons learnt from building a toy filesystem
Rust + python: lessons learnt from building a toy filesystemRust + python: lessons learnt from building a toy filesystem
Rust + python: lessons learnt from building a toy filesystem
 
repositor.io - Simple Repository Management
repositor.io - Simple Repository Managementrepositor.io - Simple Repository Management
repositor.io - Simple Repository Management
 
Linuxppt
LinuxpptLinuxppt
Linuxppt
 
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
 
Linux Tor Browser kurulum
Linux Tor Browser kurulumLinux Tor Browser kurulum
Linux Tor Browser kurulum
 
Respositórios do Ubuntu, santo apt-get e outras coisas
Respositórios do Ubuntu, santo apt-get e outras coisasRespositórios do Ubuntu, santo apt-get e outras coisas
Respositórios do Ubuntu, santo apt-get e outras coisas
 
Preventing cpu side channel attacks with kernel tracking
Preventing cpu side channel attacks with kernel trackingPreventing cpu side channel attacks with kernel tracking
Preventing cpu side channel attacks with kernel tracking
 
1 04 rao
1 04 rao1 04 rao
1 04 rao
 
Beyondfs-intro
Beyondfs-introBeyondfs-intro
Beyondfs-intro
 
Introduction To Unix
Introduction To UnixIntroduction To Unix
Introduction To Unix
 
Python-specific packaging
Python-specific packagingPython-specific packaging
Python-specific packaging
 
101 2.4 use debian package management
101 2.4 use debian package management101 2.4 use debian package management
101 2.4 use debian package management
 
101 2.4b use debian package management v2
101 2.4b use debian package management v2101 2.4b use debian package management v2
101 2.4b use debian package management v2
 

Viewers also liked

Portafolio de Diseno grafico - Christian Esteban Proano
Portafolio de Diseno grafico - Christian Esteban ProanoPortafolio de Diseno grafico - Christian Esteban Proano
Portafolio de Diseno grafico - Christian Esteban Proano
Christian Esteban Proaño Gómez
 
Internet
InternetInternet
Internet
saulloaiza1996
 
GHY101 1-2 Geography as science 2017_01_25
GHY101 1-2 Geography as science 2017_01_25GHY101 1-2 Geography as science 2017_01_25
GHY101 1-2 Geography as science 2017_01_25
Mark M. Miller
 
Apresentação Aquarela Produção e Evento
Apresentação Aquarela Produção e EventoApresentação Aquarela Produção e Evento
Apresentação Aquarela Produção e Evento
Isabella Sissi
 
Healthcare IoT and Analytics to treat Parkinsons
Healthcare IoT and Analytics to treat ParkinsonsHealthcare IoT and Analytics to treat Parkinsons
Healthcare IoT and Analytics to treat Parkinsons
rcnossen
 
Miley cyrus.odp
Miley cyrus.odpMiley cyrus.odp
Miley cyrus.odp
Marinaaa13
 
1. historia del diseño grafico 1
1. historia del diseño grafico 11. historia del diseño grafico 1
1. historia del diseño grafico 1
Inés Kaplún
 
OpinionWay - Avocats de la famille - Loi sur le divorce par consentement mutu...
OpinionWay - Avocats de la famille - Loi sur le divorce par consentement mutu...OpinionWay - Avocats de la famille - Loi sur le divorce par consentement mutu...
OpinionWay - Avocats de la famille - Loi sur le divorce par consentement mutu...
OpinionWay
 
snapshot ではじめる ローカライズ検証
snapshot ではじめる ローカライズ検証snapshot ではじめる ローカライズ検証
snapshot ではじめる ローカライズ検証
moko ist
 
TYPES OF INSTRUCTIONAL MATERIALS
TYPES OF INSTRUCTIONAL MATERIALSTYPES OF INSTRUCTIONAL MATERIALS
TYPES OF INSTRUCTIONAL MATERIALS
Irene Ariana Estrella
 
Introducing Ballerina
Introducing BallerinaIntroducing Ballerina
Introducing Ballerina
WSO2
 

Viewers also liked (11)

Portafolio de Diseno grafico - Christian Esteban Proano
Portafolio de Diseno grafico - Christian Esteban ProanoPortafolio de Diseno grafico - Christian Esteban Proano
Portafolio de Diseno grafico - Christian Esteban Proano
 
Internet
InternetInternet
Internet
 
GHY101 1-2 Geography as science 2017_01_25
GHY101 1-2 Geography as science 2017_01_25GHY101 1-2 Geography as science 2017_01_25
GHY101 1-2 Geography as science 2017_01_25
 
Apresentação Aquarela Produção e Evento
Apresentação Aquarela Produção e EventoApresentação Aquarela Produção e Evento
Apresentação Aquarela Produção e Evento
 
Healthcare IoT and Analytics to treat Parkinsons
Healthcare IoT and Analytics to treat ParkinsonsHealthcare IoT and Analytics to treat Parkinsons
Healthcare IoT and Analytics to treat Parkinsons
 
Miley cyrus.odp
Miley cyrus.odpMiley cyrus.odp
Miley cyrus.odp
 
1. historia del diseño grafico 1
1. historia del diseño grafico 11. historia del diseño grafico 1
1. historia del diseño grafico 1
 
OpinionWay - Avocats de la famille - Loi sur le divorce par consentement mutu...
OpinionWay - Avocats de la famille - Loi sur le divorce par consentement mutu...OpinionWay - Avocats de la famille - Loi sur le divorce par consentement mutu...
OpinionWay - Avocats de la famille - Loi sur le divorce par consentement mutu...
 
snapshot ではじめる ローカライズ検証
snapshot ではじめる ローカライズ検証snapshot ではじめる ローカライズ検証
snapshot ではじめる ローカライズ検証
 
TYPES OF INSTRUCTIONAL MATERIALS
TYPES OF INSTRUCTIONAL MATERIALSTYPES OF INSTRUCTIONAL MATERIALS
TYPES OF INSTRUCTIONAL MATERIALS
 
Introducing Ballerina
Introducing BallerinaIntroducing Ballerina
Introducing Ballerina
 

Similar to Security Considerations on Linux Package Management

$ make install
$ make install$ make install
$ make install
Marios Isaakidis
 
Linux Troubleshooting
Linux TroubleshootingLinux Troubleshooting
Linux Troubleshooting
Keith Wright
 
Software management in linux
Software management in linuxSoftware management in linux
Software management in linuxnejadmand
 
Deploying and maintaining your software with RPM/APT
Deploying and maintaining your software with RPM/APTDeploying and maintaining your software with RPM/APT
Deploying and maintaining your software with RPM/APTJoshua Thijssen
 
Basic orientation to Linux
Basic orientation to LinuxBasic orientation to Linux
Basic orientation to Linux
Vidyaratha Kissoon
 
Part 2 of 'Introduction to Linux for bioinformatics': Installing software
Part 2 of 'Introduction to Linux for bioinformatics': Installing softwarePart 2 of 'Introduction to Linux for bioinformatics': Installing software
Part 2 of 'Introduction to Linux for bioinformatics': Installing software
Joachim Jacob
 
Root file system for embedded systems
Root file system for embedded systemsRoot file system for embedded systems
Root file system for embedded systems
alok pal
 
Launch and Environment Constraints Overview
Launch and Environment Constraints OverviewLaunch and Environment Constraints Overview
Launch and Environment Constraints Overview
Csaba Fitzl
 
How to make debian package from scratch (linux)
How to make debian package from scratch (linux)How to make debian package from scratch (linux)
How to make debian package from scratch (linux)
Thierry Gayet
 
Edubooktraining
EdubooktrainingEdubooktraining
Edubooktraining
norhloudspeaker
 
HowTo Install openMPI on Ubuntu
HowTo Install openMPI on UbuntuHowTo Install openMPI on Ubuntu
HowTo Install openMPI on Ubuntu
A Jorge Garcia
 
Unix Administration 2
Unix Administration 2Unix Administration 2
Unix Administration 2
Information Technology
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package managementAcácio Oliveira
 
Approaching package manager
Approaching package managerApproaching package manager
Approaching package manager
Timur Safin
 
RHEL Log-files, RPM, Backup & Recovery
RHEL Log-files, RPM, Backup & RecoveryRHEL Log-files, RPM, Backup & Recovery
RHEL Log-files, RPM, Backup & Recovery
Aneesa Rahman
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management
Acácio Oliveira
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management
Acácio Oliveira
 

Similar to Security Considerations on Linux Package Management (20)

$ make install
$ make install$ make install
$ make install
 
Linux Troubleshooting
Linux TroubleshootingLinux Troubleshooting
Linux Troubleshooting
 
Software management in linux
Software management in linuxSoftware management in linux
Software management in linux
 
Deploying and maintaining your software with RPM/APT
Deploying and maintaining your software with RPM/APTDeploying and maintaining your software with RPM/APT
Deploying and maintaining your software with RPM/APT
 
Basic orientation to Linux
Basic orientation to LinuxBasic orientation to Linux
Basic orientation to Linux
 
Part 2 of 'Introduction to Linux for bioinformatics': Installing software
Part 2 of 'Introduction to Linux for bioinformatics': Installing softwarePart 2 of 'Introduction to Linux for bioinformatics': Installing software
Part 2 of 'Introduction to Linux for bioinformatics': Installing software
 
Root file system for embedded systems
Root file system for embedded systemsRoot file system for embedded systems
Root file system for embedded systems
 
Launch and Environment Constraints Overview
Launch and Environment Constraints OverviewLaunch and Environment Constraints Overview
Launch and Environment Constraints Overview
 
File system discovery
File system discovery File system discovery
File system discovery
 
How to make debian package from scratch (linux)
How to make debian package from scratch (linux)How to make debian package from scratch (linux)
How to make debian package from scratch (linux)
 
RPM (LINUX)
RPM (LINUX)RPM (LINUX)
RPM (LINUX)
 
Edubooktraining
EdubooktrainingEdubooktraining
Edubooktraining
 
HowTo Install openMPI on Ubuntu
HowTo Install openMPI on UbuntuHowTo Install openMPI on Ubuntu
HowTo Install openMPI on Ubuntu
 
Unix Administration 2
Unix Administration 2Unix Administration 2
Unix Administration 2
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management
 
Approaching package manager
Approaching package managerApproaching package manager
Approaching package manager
 
RHEL Log-files, RPM, Backup & Recovery
RHEL Log-files, RPM, Backup & RecoveryRHEL Log-files, RPM, Backup & Recovery
RHEL Log-files, RPM, Backup & Recovery
 
Basic Linux Internals
Basic Linux InternalsBasic Linux Internals
Basic Linux Internals
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management
 
101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management101 2.5 use rpm and yum package management
101 2.5 use rpm and yum package management
 

Recently uploaded

Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 

Recently uploaded (20)

Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 

Security Considerations on Linux Package Management

  • 2. Hello!I am Tharindu Edirisinghe You can find me at …. tharindue.blogspot.com @thariyarox https://lk.linkedin.com/in/ediri ediri@live.com
  • 5.
  • 6. A Personal Package Archive (PPA) is a special software repository for uploading source packages to be built and published as an APT repository by Launchpad. While the term is used exclusively within Ubuntu, Launchpad host Canonical envisions adoption beyond the Ubuntu community. Source : http://askubuntu.com/questions/4983/what-are-ppas-and-how-do-i-use-them https://en.wikipedia.org/wiki/Personal_Package_Archive
  • 7. sudo apt-get install <package name>
  • 8. You can add a PPA to your system with a single line in your terminal. Open a terminal and enter: sudo add-apt-repository ppa:shutter/ppa Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added: sudo apt-get update Install Shutter sudo apt-get install shutter
  • 9. sudo dpkg -i <package file>
  • 10. The Advanced Package Tool, or APT, is a free software user interface that works with core libraries to handle the installation and removal of software on the Debian, Slackware and other Linux distributions. APT simplifies the process of managing software on Unix-like computer systems by automating the retrieval, configuration and installation of software packages, either from precompiled files or by compiling source code. APT was originally designed as a front-end for dpkg to work with Debian's .deb packages, but it has since been modified to also work with the RPM Package Manager system via APT-RPM.The Fink project has ported APT to Mac OS X for some of its own package management tasks, and APT is also available in OpenSolaris. Source : https://en.wikipedia.org/wiki/Advanced_Packaging_Tool
  • 11. dpkg is the software at the base of the package management system in the free operating system Debian and its numerous derivatives. dpkg is used to install, remove, and provide information about .deb packages. Source : https://en.wikipedia.org/wiki/Dpkg
  • 12. package_name ├── DEBIAN │ ├── control (meta data of the package) │ ├── preinst (execute before installing the package) │ ├── postinst (execute after installing the package) │ ├── prerm (execute before un-installing the package) │ └── postrm (execute after un-installing the package) │ └── /……. (folders and files following the linux file structure) Source : https://www.hivelocity.net/kb/what-are-preinst-postinst-prerm-and-postrm-script-2/
  • 13. demo
  • 14. mkdir -p helloworld_1.0-1/usr/local/bin cp ~/Projects/Hello World/helloworld helloworld_1.0-1/usr/local/bin/ mkdir helloworld_1.0-1/DEBIAN vi helloworld_1.0-1/DEBIAN/control dpkg-deb --build helloworld_1.0-1 Source : https://ubuntuforums.org/showthread.php?t=910717 Package: helloworld Version: 1.0-1 Section: base Priority: optional Architecture: i386 Depends: libsomethingorrather (>= 1.2.13), xyz (>= 1.2.6) Maintainer: Tharindu Edirisinghe <ediri@live.com> Description: Hello World When you need some sunshine, just run this small program!
  • 15. Install a Debian (.deb) package × sudo dpkg -i <package name> List installed packages × dpkg -l <package name with/out wildcards> Un-Install a Debian (.deb) package binaries × sudo dpkg --remove <package name> Un-Install a Debian (.deb) package binaries and configuration files × sudo dpkg --purge <package name>
  • 16.
  • 17. Linux Package Management https://www.linode.com/docs/tools-reference/linux-package-management Package Management Security https://isis.poly.edu/~jcappos/papers/cappos_pmsec_tr08-02.pdf Debian Packaging Tutorial https://www.debian.org/doc/manuals/packaging-tutorial/packaging-tutorial.en.pdf
  • 18. THANKS!Any questions? You can find me at …. tharindue.blogspot.com @thariyarox https://lk.linkedin.com/in/ediri ediri@live.com